tanh#

rbc.stdlib.elementwise_functions.tanh(a)#
Calculates an implementation-dependent approximation to the hyperbolic tangent, having

domain.

[-infinity, +infinity] and codomain [-1, +1], for each element x_i of the input array x.

Array-API ‘tanh’ doc