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

◆ NN_relu6()

void NN_relu6 ( Tensor y,
const Tensor x 
)

Applies the ReLU6 function element-wise.

y = ReLU6(x) = min(max(x, 0), 6)

Parameters
ythe output tensor
xthe input tensor