OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Sin
===
.. meta::
:description: Learn about Sin-1 - an element-wise, arithmetic operation, which
can be performed on a single tensor in OpenVINO.
**Versioned name**: *Sin-1*
**Category**: *Arithmetic unary*
**Short description**: *Sin* performs element-wise sine operation with given tensor.
**Detailed description**: *sin* does the following with the input tensor *a*:
.. math::
a_{i} = sin(a_{i})
a - value representing angle in radians.
**Attributes**:
No attributes available.
**Inputs**
* **1**: An tensor of type *T* and arbitrary rank. **Required.**
**Outputs**
* **1**: The result of element-wise sin operation. A tensor of type *T*.
**Types**
* *T*: any numeric type.
**Examples**
*Example 1*
.. code-block:: xml
:force:
<layer ... type="Sin">
<input>
<port id="0">
<dim>256</dim>
<dim>56</dim>
</port>
</input>
<output>
<port id="1">
<dim>256</dim>
<dim>56</dim>
</port>
</output>
</layer>