Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches

◆ nn_relu2d_f32()

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)

Parameters
yThe result tensor.
xThe input tensor.