The rectifier function, defined by. More...
Static Public Member Functions | |
static double | Deriv (const double x) |
Computes the first derivative of the rectifier function. More... | |
template < typename InputType , typename OutputType > | |
static void | Deriv (const InputType &y, OutputType &x) |
Computes the first derivatives of the rectifier function. More... | |
static double | Fn (const double x) |
Computes the rectifier function. More... | |
template < typename eT > | |
static void | Fn (const arma::Mat< eT > &x, arma::Mat< eT > &y) |
Computes the rectifier function using a dense matrix as input. More... | |
template < typename eT > | |
static void | Fn (const arma::Cube< eT > &x, arma::Cube< eT > &y) |
Computes the rectifier function using a 3rd-order tensor as input. More... | |
|
inlinestatic |
Computes the first derivative of the rectifier function.
x | Input data. |
Definition at line 91 of file rectifier_function.hpp.
Referenced by RectifierFunction::Deriv().
|
inlinestatic |
Computes the first derivatives of the rectifier function.
y | Input data. |
x | The resulting derivatives. |
Definition at line 103 of file rectifier_function.hpp.
References RectifierFunction::Deriv().
|
inlinestatic |
Computes the rectifier function.
x | Input data. |
Definition at line 54 of file rectifier_function.hpp.
|
inlinestatic |
Computes the rectifier function using a dense matrix as input.
x | Input data. |
y | The resulting output activation. |
Definition at line 66 of file rectifier_function.hpp.
|
inlinestatic |
Computes the rectifier function using a 3rd-order tensor as input.
x | Input data. |
y | The resulting output activation. |
Definition at line 79 of file rectifier_function.hpp.