Share Brilliantly
tensor flow
const tensor = tf.tensor1d([1, 2]);
//if not created within tidy, must dipose of tensor
tensor.dispose();
Try it!
const tensor = tf.tensor([1, 2]);
//if not created within tidy, must dipose of tensor
tensor.dispose();