The SILU function, defined by. More...
Static Public Member Functions | |
static double | Deriv (const double x) |
Computes the first derivative of the SILU function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Deriv (const InputVecType &x, OutputVecType &y) |
Computes the first derivatives of the SILU function. More... | |
static double | Fn (const double x) |
Computes the SILU function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Fn (const InputVecType &x, OutputVecType &y) |
Computes the SILU function. More... | |
|
inlinestatic |
Computes the first derivative of the SILU function.
y | Input activation. |
Definition at line 75 of file silu_function.hpp.
|
inlinestatic |
Computes the first derivatives of the SILU function.
y | Input activations. |
x | The resulting derivatives. |
Definition at line 88 of file silu_function.hpp.
|
inlinestatic |
Computes the SILU function.
x | Input data. |
Definition at line 52 of file silu_function.hpp.
|
inlinestatic |
Computes the SILU function.
x | Input data. |
y | The resulting output activation. |
Definition at line 64 of file silu_function.hpp.