• Creates a new tensor with the same values and shape as the specified tensor.

    const x = tf.tensor([1, 2]);

    x.clone().print();

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc