megengine.functional.nn.relu

relu(x)[源代码]

Applies the rectified linear unit function element-wise.

See ReLU for more details.