Function marian::logsoftmax

Function Documentation

Expr marian::logsoftmax(Expr a)

Computes the log of the softmax function along the last axis.

Applies \( \log(\operatorname{softmax}(x)) \).

See

LogSoftmaxNodeOp