tanh

Hyperbolic tangent operation. Computes the elementwise hyperbolic tangent of a matrix.

Return

The expression of the hyperbolic tangent operation.

Parameters

value

the tensor to compute hyperbolic tangent for.

Throws

If the tensor is not a matrix.


Hyperbolic tangent operation. Computes the elementwise hyperbolic tangent of a matrix evaluated from the matrix expression.

Return

The expression of the hyperbolic tangent operation.

Parameters

value

the matrix evaluated from the tensor arithmetic expression to compute hyperbolic tangent for.