The hard sigmoid function, defined by. More...
Static Public Member Functions | |
static double | Deriv (const double y) |
Computes the first derivatives of hard sigmoid function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Deriv (const InputVecType &y, OutputVecType &x) |
Computes the first derivatives of the hard sigmoid function. More... | |
static double | Fn (const double x) |
Computes the hard sigmoid function. More... | |
template < typename InputVecType , typename OutputVecType > | |
static void | Fn (const InputVecType &x, OutputVecType &y) |
Computes the hard sigmoid function. More... | |
|
inlinestatic |
Computes the first derivatives of hard sigmoid function.
y | Input data. |
Definition at line 69 of file hard_sigmoid_function.hpp.
Referenced by HardSigmoidFunction::Deriv().
|
inlinestatic |
Computes the first derivatives of the hard sigmoid function.
y | Input data. |
x | The resulting derivatives. |
Definition at line 85 of file hard_sigmoid_function.hpp.
References HardSigmoidFunction::Deriv().
|
inlinestatic |
Computes the hard sigmoid function.
x | Input data. |
Definition at line 43 of file hard_sigmoid_function.hpp.
Referenced by HardSigmoidFunction::Fn().
|
inlinestatic |
Computes the hard sigmoid function.
x | Input data. |
y | The resulting output activations. |
Definition at line 55 of file hard_sigmoid_function.hpp.
References HardSigmoidFunction::Fn().