Creates a new tensor with the same values and shape as the specified tensor.
const x = tf.tensor([1, 2]);x.clone().print(); Copy
const x = tf.tensor([1, 2]);x.clone().print();
The tensor to clone.
Generated using TypeDoc
Creates a new tensor with the same values and shape as the specified tensor.