mindspore.ops.ReLU6

class mindspore.ops.ReLU6[source]
prim = ops.ReLU6()
out = prim(x)

is equivalent to

ops.relu6(x)

Refer to mindspore.ops.relu6() for more details.