The softplus function, defined by. More...
Static Public Member Functions | |
static double | Deriv (const double y) |
Computes the first derivative of the softplus function. More... | |
template < typename InputType , typename OutputType > | |
static void | Deriv (const InputType &y, OutputType &x) |
Computes the first derivatives of the softplus function. More... | |
static double | Fn (const double x) |
Computes the softplus function. More... | |
template < typename InputType , typename OutputType > | |
static void | Fn (const InputType &x, OutputType &y) |
Computes the softplus function. More... | |
static double | Inv (const double y) |
Computes the inverse of the softplus function. More... | |
template < typename InputType , typename OutputType > | |
static void | Inv (const InputType &y, OutputType &x) |
Computes the inverse of the softplus function. More... | |
|
inlinestatic |
Computes the first derivative of the softplus function.
y | Input data. |
Definition at line 81 of file softplus_function.hpp.
|
inlinestatic |
Computes the first derivatives of the softplus function.
y | Input data. |
x | The resulting derivatives. |
Definition at line 93 of file softplus_function.hpp.
|
inlinestatic |
Computes the softplus function.
x | Input data. |
Definition at line 52 of file softplus_function.hpp.
Referenced by SoftplusFunction::Fn().
|
inlinestatic |
Computes the softplus function.
x | Input data. |
y | The resulting output activation. |
Definition at line 67 of file softplus_function.hpp.
References SoftplusFunction::Fn().
|
inlinestatic |
Computes the inverse of the softplus function.
y | Input data. |
Definition at line 104 of file softplus_function.hpp.
Referenced by SoftplusFunction::Inv().
|
inlinestatic |
Computes the inverse of the softplus function.
y | Input data. |
x | The resulting inverse of the input data. |
Definition at line 119 of file softplus_function.hpp.
References SoftplusFunction::Inv().