softmax
函数功能
快速softmax函数运算,单例模式。
函数原型
inline void fastmath::softmax(std::vector<float>& digits);
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
digits |
输入/输出 |
float型的vector,原位进行softmax。 |
父主题: FastMath
快速softmax函数运算,单例模式。
inline void fastmath::softmax(std::vector<float>& digits);
参数名 |
输入/输出 |
说明 |
---|---|---|
digits |
输入/输出 |
float型的vector,原位进行softmax。 |