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

◆ log_softmax() [2/5]

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

Return the log softmax of the specified vector of fvar values.

Template Parameters
VecEigen vector with fvar scalar
Parameters
xvector to transform
Returns
log softmax of the vector, or an empty result if the input is empty

Definition at line 38 of file log_softmax.hpp.