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
Ttype of the vector
Parameters
[in]aVector to transform.
Returns
softmax of the vector

Definition at line 23 of file softmax.hpp.