mlx.nn.ReLU

class mlx.nn.ReLU

Applies the Rectified Linear Unit.

Simply mx.maximum(x, 0).