softmax

Function Usage

Performs the fast softmax operation in singleton mode.

Prototype

1
inline void fastmath::softmax(std::vector<float>& digits);

Parameters

Parameter

Input/Output

Description

digits

Input/Output

Softmax is performed on the float-type vector in the original position.