Baremetal-NN
Baremetal-NN API documentation
|
Clamps all elements in input into the range [ min, max ]. Letting min_value and max_value be min and max, respectively, this returns:
y_i = min(max(x_i, min_value), max_value)
out | the output tensor |
a | the input tensor |
min | lower-bound of the range to be clamped to |
max | upper-bound of the range to be clamped to |