softmax

Function Usage

This function is used to perform fast softmax operation.

Prototype

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

Parameter Description

Parameter

Input/Output

Description

digits

Input/Output

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