Computes sin of the input Tensor element-wise: sin(x)
sin(x)
const x = tf.tensor1d([0, Math.PI / 2, Math.PI * 3 / 4]);x.sin().print(); // or tf.sin(x) Copy
const x = tf.tensor1d([0, Math.PI / 2, Math.PI * 3 / 4]);x.sin().print(); // or tf.sin(x)
The input tensor.
Generated using TypeDoc
Computes sin of the input Tensor element-wise:
sin(x)