Return the log softmax of the specified vector or container of vectors.
Return the log softmax of the specified std::vector
or std::vector
of containers.
Return the log softmax of the specified vector.
- Template Parameters
-
T | Type of input vector or matrix. |
- Parameters
-
[in] | x | Unconstrained input vector. |
- Returns
- Softmax of the input.
- Exceptions
-
std::domain_error | If the input vector is size 0. |
- Template Parameters
-
- Parameters
-
- Returns
- softmax of the input
- Exceptions
-
std::domain_error | if the input size is 0 |
- Template Parameters
-
- Parameters
-
- Returns
- softmax of the input
- Exceptions
-
std::domain_error | if the input size is 0 |
- Template Parameters
-
- Parameters
-
- Returns
- softmax of the input
- Exceptions
-
std::domain_error | if the input size is 0 |
Definition at line 22 of file log_softmax.hpp.