mlx.nn.tanh

Contents

mlx.nn.tanh#

class tanh(x)#

Applies the hyperbolic tangent function.

Simply mx.tanh(x).