mlx.nn.ReLU2

Contents

mlx.nn.ReLU2#

class ReLU2#

Applies the ReLU² activation function.

See relu2() for the functional equivalent.

Methods