tanh

Contents

tanh#

Hyperbolic tangent

Op matx::tanh(Op t)#

Compute the hyperbolic tangent of every element in the tensor

Parameters:

t – Tensor or operator input

Examples#

(tov0 = tanh(tiv0)).run(exec);