Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ softmax() [2/5]

template<typename Vec , require_eigen_vector_vt< is_fvar, Vec > * = nullptr>
auto stan::math::softmax ( Vec &&  x)
inline

Return the softmax of the specified vector of fvar values.

Template Parameters
VecEigen vector with fvar scalar
Parameters
xvector to transform
Returns
softmax of the vector

Definition at line 36 of file softmax.hpp.