mlx.nn.tanh#

tanh(x)#

Applies the hyperbolic tangent function.

Simply mx.tanh(x).