Automatic Differentiation
 
Loading...
Searching...
No Matches
log_softmax.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename Container , require_st_arithmetic< Container > * = nullptr, require_container_t< Container > * = nullptr, require_not_t< bool_constant< is_eigen< std::decay_t< Container > >::value &&!is_eigen_vector< std::decay_t< Container > >::value > > * = nullptr>
auto stan::math::log_softmax (Container &&x)
 Return the natural logarithm of the softmax of the specified vector, or of each vector in a container.