oa::FnMatrix::logSoftmax

logSoftmax: Stable log-softmax over the selected dimension; -1 selects the last dimension.

Function Documentation

oa::Matrix oa::FnMatrix::logSoftmax( const oa::Matrix & inA, oa::I32 inDim = -1 )
logSoftmax: Stable log-softmax over the selected dimension; -1 selects the last dimension.

Parameters

inA
const oa::Matrix &

inDim
oa::I32

Default: -1

Returns

oa::Matrix

The declared return value.