Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ log_softmax() [5/5]

template<typename T , require_eigen_st< is_var, T > * = nullptr>
auto stan::math::log_softmax ( const T &  x)
inline

Return the log softmax of the specified vector.

Template Parameters
Ttype of input
Parameters
xinput
Returns
softmax of the input
Exceptions
std::domain_errorif the input size is 0
Template Parameters
Ttype of input
Parameters
xinput
Returns
softmax of the input
Exceptions
std::domain_errorif the input size is 0

Definition at line 57 of file log_softmax.hpp.