mlx.nn.tanh#

mlx.nn.tanh(x)#

Applies the hyperbolic tangent function.

Simply mx.tanh(x).