.. _op_ai_onnx_Cos-7: Cos - version 7 =============== This page documents version **7** of operator **Cos**. See :doc:`Cos` for the latest version (since version 22). - **Domain**: ``ai.onnx`` - **Since version**: 7 Computes the Cos value of the input tensor element-wise. **Inputs** - **input** (*T*): Input tensor **Outputs** - **output** (*T*): The cosine 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).