Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
softmax()
[2/5]
template<typename T ,
require_all_kernel_expressions_and_none_scalar_t
< T > * = nullptr>
matrix_cl
< double > stan::math::softmax
(
const T &
a
)
inline
Return the softmax of the specified vector.
Template Parameters
T
type of the vector
Parameters
[in]
a
Vector to transform.
Returns
softmax of the vector
Definition at line
23
of file
softmax.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.