The Hard Swish function, defined by. More...
Static Public Member Functions | |
| static double | Deriv (const double y) |
| Computes the first derivative of the Hard Swish function. More... | |
template < typename InputVecType , typename OutputVecType > | |
| static void | Deriv (const InputVecType &y, OutputVecType &x) |
| Computes the first derivatives of the Hard Swish function. More... | |
| static double | Fn (const double x) |
| Computes the Hard Swish function. More... | |
template < typename InputVecType , typename OutputVecType > | |
| static void | Fn (const InputVecType &x, OutputVecType &y) |
| Computes the Hard Swish function. More... | |
|
inlinestatic |
Computes the first derivative of the Hard Swish function.
| y | Input data. |
Definition at line 87 of file hard_swish_function.hpp.
Referenced by HardSwishFunction::Deriv().
|
inlinestatic |
Computes the first derivatives of the Hard Swish function.
| y | Input data. |
| x | The resulting derivatives. |
Definition at line 104 of file hard_swish_function.hpp.
References HardSwishFunction::Deriv().
|
inlinestatic |
Computes the Hard Swish function.
| x | Input data. |
Definition at line 56 of file hard_swish_function.hpp.
Referenced by HardSwishFunction::Fn().
|
inlinestatic |
Computes the Hard Swish function.
| x | Input data. |
| y | The resulting output activation. |
Definition at line 73 of file hard_swish_function.hpp.
References HardSwishFunction::Fn().