sin

dragon.math.sin(
  inputs,
  **kwargs
)[source]

Compute the sin of input.

\[\text{out} = \sin(\text{input}) \]

Examples:

x = dragon.constant([0., math.pi / 2])
print(dragon.math.sin(x))  # [0., 1.]
Parameters:
Returns:

dragon.Tensor – The output tensor.