mlx.nn.Tanh

Contents

mlx.nn.Tanh#

class Tanh#

Applies the hyperbolic tangent function.

See tanh() for the functional equivalent.

Methods