Element-wise hyperbolic tangent.
Arguments
- x
(
arrayish)
One input. Can be any float data type. An R value materializes at its default data type.
Value
(arrayish)
Has the input's shape and data type.
StableHLO
Lowers to hlo_tanh(), specified under
tanh.