Performs the fast softmax operation in singleton mode.
1 | inline void fastmath::softmax(std::vector<float>& digits); |
Parameter |
Input/Output |
Description |
|---|---|---|
digits |
Input/Output |
Softmax is performed on the float-type vector in the original position. |