|
Baremetal-NN
Baremetal-NN API documentation
|
| void nn_relu2d_f32 | ( | Tensor2D_F32 * | y, |
| const Tensor2D_F32 * | x | ||
| ) |
Applies the ReLU activation function to a 2D floating-point tensor.
nn_relu2d_f32
y[i][j] = max(x[i][j], 0)
| y | The result tensor. |
| x | The input tensor. |