How to delete PyTorch objects correctly from memory

Ah Thanks a lot! It’s really helpful!