The rectifier function, defined by.
More...
|
static double | Deriv (const double x) |
| Computes the first derivative of the rectifier function. More...
|
|
template |
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 |
static void | Fn (const arma::Mat< eT > &x, arma::Mat< eT > &y) |
| Computes the rectifier function using a dense matrix as input. More...
|
|
template |
static void | Fn (const arma::Cube< eT > &x, arma::Cube< eT > &y) |
| Computes the rectifier function using a 3rd-order tensor as input. More...
|
|
The rectifier function, defined by.
Definition at line 45 of file rectifier_function.hpp.
◆ Deriv() [1/2]
static double Deriv |
( |
const double |
x | ) |
|
|
inlinestatic |
◆ Deriv() [2/2]
static void Deriv |
( |
const InputType & |
y, |
|
|
OutputType & |
x |
|
) |
| |
|
inlinestatic |
◆ Fn() [1/3]
static double Fn |
( |
const double |
x | ) |
|
|
inlinestatic |
◆ Fn() [2/3]
static void Fn |
( |
const arma::Mat< eT > & |
x, |
|
|
arma::Mat< eT > & |
y |
|
) |
| |
|
inlinestatic |
Computes the rectifier function using a dense matrix as input.
- Parameters
-
x | Input data. |
y | The resulting output activation. |
Definition at line 66 of file rectifier_function.hpp.
◆ Fn() [3/3]
static void Fn |
( |
const arma::Cube< eT > & |
x, |
|
|
arma::Cube< eT > & |
y |
|
) |
| |
|
inlinestatic |
Computes the rectifier function using a 3rd-order tensor as input.
- Parameters
-
x | Input data. |
y | The resulting output activation. |
Definition at line 79 of file rectifier_function.hpp.
The documentation for this class was generated from the following file:
- /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.4.2/src/mlpack/methods/ann/activation_functions/rectifier_function.hpp