(l-onnx-doc-Cosh)= # Cosh (l-onnx-op-cosh-22)= ## Cosh - 22 ### Version - **name**: [Cosh (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Cosh) - **domain**: `main` - **since_version**: `22` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 22**. ### Summary Calculates the hyperbolic cosine of the given input tensor element-wise. ### Inputs - **input** (heterogeneous) - **T**: Input tensor ### Outputs - **output** (heterogeneous) - **T**: The hyperbolic cosine values of the input tensor computed element-wise ### Type Constraints * **T** in ( `tensor(bfloat16)`, `tensor(double)`, `tensor(float)`, `tensor(float16)` ): Constrain input and output types to float tensors. ```{toctree} text_diff_Cosh_9_22 ``` (l-onnx-op-cosh-9)= ## Cosh - 9 ### Version - **name**: [Cosh (GitHub)](https://github.com/onnx/onnx/blob/main/docs/Operators.md#Cosh) - **domain**: `main` - **since_version**: `9` - **function**: `False` - **support_level**: `SupportType.COMMON` - **shape inference**: `True` This version of the operator has been available **since version 9**. ### Summary Calculates the hyperbolic cosine of the given input tensor element-wise. ### Inputs - **input** (heterogeneous) - **T**: Input tensor ### Outputs - **output** (heterogeneous) - **T**: The hyperbolic cosine values of the input tensor computed element-wise ### Type Constraints * **T** in ( `tensor(double)`, `tensor(float)`, `tensor(float16)` ): Constrain input and output types to float tensors.