Tanh - version 6#

This page documents version 6 of operator Tanh. See Tanh for the latest version (since version 13).

  • Domain: ai.onnx

  • Since version: 6

Calculates the hyperbolic tangent of the given input tensor element-wise.

Inputs

  • input (T): Input tensor

Outputs

  • output (T): The hyperbolic tangent values of the input tensor computed element-wise

Type Constraints

  • T: Constrain input and output types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).

Differences with previous version (1)#

SchemaDiff: Tanh (domain 'ai.onnx')

  • old version: 1

  • new version: 6

  • breaking: no