|
Baremetal-NN
Baremetal-NN API documentation
|
| void nn_softmax1d_f32 | ( | Tensor1D_F32 * | y, |
| const Tensor1D_F32 * | x | ||
| ) |
Applies the softmax activation function to a 1D floating-point tensor.
nn_softmax1d_f32
y[i] = exp(x[i]) / sum(exp(x))
| y | The result tensor. |
| x | The input tensor. |