megengine.functional.nn.relu6

relu6(x)[source]

Element-wise min(max(x, 0), 6).