Tanh

Description

Computes the hyperbolic tangent of the input tensor element-wise.

Input

input: tensor of type float16 or float.

Output

output: tensor of the identical data type and shape as input.

Constraints

None.

ONNX Opset Support

Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18