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

◆ nn_relu2d_i32()

void nn_relu2d_i32 ( Tensor2D_I32 y,
const Tensor2D_I32 x 
)

Applies the ReLU activation function to a 2D tensor.

nn_relu2d_i32

y[i][j] = max(x[i][j], 0)

Parameters
yThe result tensor.
xThe input tensor.