mlx.nn.softsign

Contents

mlx.nn.softsign#

class softsign(x)#

Applies the Softsign function.

Applies \(\frac{x}{1 + |x|}\) element wise.