The softsign function, defined by. More...
Static Public Member Functions | |
static double | Deriv (const double y) |
Computes the first derivative of the softsign function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Deriv (const InputVecType &y, OutputVecType &x) |
Computes the first derivatives of the softsign function. More... | |
static double | Fn (const double x) |
Computes the softsign function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Fn (const InputVecType &x, OutputVecType &y) |
Computes the softsign function. More... | |
static double | Inv (const double y) |
Computes the inverse of the softsign function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Inv (const InputVecType &y, OutputVecType &x) |
Computes the inverse of the softsign function. More... | |
|
inlinestatic |
Computes the first derivative of the softsign function.
y | Input activation. |
Definition at line 84 of file softsign_function.hpp.
|
inlinestatic |
Computes the first derivatives of the softsign function.
y | Input activations. |
x | The resulting derivatives. |
Definition at line 96 of file softsign_function.hpp.
|
inlinestatic |
Computes the softsign function.
x | Input data. |
Definition at line 56 of file softsign_function.hpp.
Referenced by SoftsignFunction::Fn().
|
inlinestatic |
Computes the softsign function.
x | Input data. |
y | The resulting output activation. |
Definition at line 70 of file softsign_function.hpp.
References SoftsignFunction::Fn().
|
inlinestatic |
Computes the inverse of the softsign function.
y | Input data. |
Definition at line 107 of file softsign_function.hpp.
Referenced by SoftsignFunction::Inv().
|
inlinestatic |
Computes the inverse of the softsign function.
y | Input data. |
x | The resulting inverse of the input data. |
Definition at line 122 of file softsign_function.hpp.
References SoftsignFunction::Inv().