The softplus function, defined by.
More...
|
static double | Deriv (const double y) |
| Computes the first derivative of the softplus function. More...
|
|
template |
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 |
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 |
static void | Inv (const InputType &y, OutputType &x) |
| Computes the inverse of the softplus function. More...
|
|
The softplus function, defined by.
Definition at line 43 of file softplus_function.hpp.
◆ Deriv() [1/2]
static double Deriv |
( |
const double |
y | ) |
|
|
inlinestatic |
Computes the first derivative of the softplus function.
- Parameters
-
- Returns
- f'(x)
Definition at line 81 of file softplus_function.hpp.
◆ Deriv() [2/2]
static void Deriv |
( |
const InputType & |
y, |
|
|
OutputType & |
x |
|
) |
| |
|
inlinestatic |
Computes the first derivatives of the softplus function.
- Parameters
-
y | Input data. |
x | The resulting derivatives. |
Definition at line 93 of file softplus_function.hpp.
◆ Fn() [1/2]
static double Fn |
( |
const double |
x | ) |
|
|
inlinestatic |
◆ Fn() [2/2]
static void Fn |
( |
const InputType & |
x, |
|
|
OutputType & |
y |
|
) |
| |
|
inlinestatic |
◆ Inv() [1/2]
static double Inv |
( |
const double |
y | ) |
|
|
inlinestatic |
◆ Inv() [2/2]
static void Inv |
( |
const InputType & |
y, |
|
|
OutputType & |
x |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.4.2/src/mlpack/methods/ann/activation_functions/softplus_function.hpp