• Computes sin of the input Tensor element-wise: sin(x)

    const x = tf.tensor1d([0, Math.PI / 2, Math.PI * 3 / 4]);

    x.sin().print(); // or tf.sin(x)

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc