A function that returns the \(\mathsf{Pwr}\) neural networks.
Usage
Pwr(q, eps, exponent)
Value
A neural network that approximates raising a number to exponent, when
given appropriate \(q,\varepsilon\) and exponent when instantiated
under ReLU activation at \(x\).
Arguments
q
a real number in \((2,\infty)\). Accuracy as well as computation
time increases as \(q\) gets closer to \(2\) increases
eps
a real number in \((0,\infty)\). ccuracy as well as computation
time increases as \(\varepsilon\) gets closer to \(0\) increases
exponent
The power to which we will raise. Computation
time increases as exponent increases