mlx.nn.relu#

mlx.nn.relu(x)#

Applies the Rectified Linear Unit.

Simply mx.maximum(x, 0).