oa::FnMatrix::softmax
softmax: Stable softmax over the selected dimension; -1 selects the last dimension.
Function Documentation
softmax: Stable softmax over the selected dimension; -1 selects the last dimension.
Parameters
inAconst oa::Matrix &—
inDimoa::I32Default: -1
Returns
oa::MatrixThe declared return value.