To profile the code in terms of memory, torch.profiler needs to be implemented.
To profile the code in terms of memory, torch.profiler needs to be implemented.