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