Sin#

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:

\[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

 <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>