The identity function, defined by. More...
Static Public Member Functions | |
static double | Deriv (const double) |
Computes the first derivative of the identity function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Deriv (const InputVecType &y, OutputVecType &x) |
Computes the first derivatives of the identity function. More... | |
template < typename eT > | |
static void | Deriv (const arma::Cube< eT > &y, arma::Cube< eT > &x) |
Computes the first derivatives of the identity function using a 3rd order tensor as input. More... | |
static double | Fn (const double x) |
Computes the identity function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Fn (const InputVecType &x, OutputVecType &y) |
Computes the identity function. More... | |
|
inlinestatic |
Computes the first derivative of the identity function.
* | (x) Input data. |
Definition at line 60 of file identity_function.hpp.
|
inlinestatic |
Computes the first derivatives of the identity function.
y | Input data/activation. |
x | The resulting derivatives. |
Definition at line 72 of file identity_function.hpp.
|
inlinestatic |
Computes the first derivatives of the identity function using a 3rd order tensor as input.
y | Input activations. |
x | The resulting derivatives. |
Definition at line 85 of file identity_function.hpp.
|
inlinestatic |
Computes the identity function.
x | Input data. |
Definition at line 37 of file identity_function.hpp.
|
inlinestatic |
Computes the identity function.
x | Input data. |
y | The resulting output activation. |
Definition at line 49 of file identity_function.hpp.