Hi,
Yes, this is clear.
But why does it cease to exist? Does it go out of its scope? What is its scope? By all means, I am not a c++ expert, but the PyTorch code is so entangled I can’t even find where the cpu method is implemented (maybe here 2) to check how this tensor is created.