Difference between detach().clone() and clone().detach()

Sorry for the spam Alban. I am just trying to understand the terminology clearly.

So “a new tensor” means a “new tensor instance/object” and not a new allocation of memory for a matrix/tensor data. Right?

Is “memory of a tensor” the same thing as its “view”? I think I read you saying “they have the same view” and it confused me. I always thought view was the same as shape but now I am unsure. Do you mind clarifying that for me?

I am referring to this:

  • Different Tensor object but looking at the same memory (a view)

And as always thanks so much for your help!