API ReferenceAPI Reference·ModulesModules·MlMloa::SoftmaxSoftmax: Softmax activation layer.ClC++ public headers#include <oa/ml/nn/softmax/softmax.h>#include <oa/ml/nn/softmax/softmax.h>Inheritancepublic ModuleOpen class hierarchyOpen class hierarchyPublic MethodsforwardforwardMatrix oa::Softmax::forward(const Matrix & inInput)Constructor & Destructor Documentationoa::Softmax::Softmax( oa::I32 inDim = -1 )SourceSourceNo public source comment is attached to this declaration.ParametersinDimoa::I32Default: -1Public Method DocumentationMatrix oa::Softmax::forward( const Matrix & inInput )SourceSourceNo public source comment is attached to this declaration.ParametersinInputconst Matrix &—ReturnsMatrixThe declared return value.
oa::Softmax::Softmax( oa::I32 inDim = -1 )SourceSourceNo public source comment is attached to this declaration.ParametersinDimoa::I32Default: -1
Matrix oa::Softmax::forward( const Matrix & inInput )SourceSourceNo public source comment is attached to this declaration.ParametersinInputconst Matrix &—ReturnsMatrixThe declared return value.