tanh

odl.tanh(x1, out=None)

Calculates an implementation-dependent approximation to the hyperbolic tangent for each element x_i in the input array x.