sin¶
dragon.vm.tensorflow.math.
sin
(
x,
name=None
)[source]¶Compute the sin of input.
\[\text{out} = \sin(\text{input}) \]Examples:
x = tf.constant((0., math.pi / 2)) print(tf.math.sin(x)) # [0., 1.]
- Parameters:
- x (dragon.Tensor) – The input tensor.
- name (str, optional) – The operation name.
- Returns:
dragon.Tensor – The output tensor.