[Memory Snapshot] Clean up elem text (#120245)
Summary:
These UI changes were added:
- Prefix address with Addr: and size with Size:
- Add comma between addr and size
- Remove duplicate (${elem.size} bytes) print out
Test Plan:
Before:
![image](https://github.com/pytorch/pytorch/assets/17602366/2d9867d6-9cdb-405b-aa92-f0daf44f2ba7)
After:
![image](https://github.com/pytorch/pytorch/assets/17602366/c7bd97d3-fdc6-4832-ae35-97a02ea73907)
Differential Revision: D53953187
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120245
Approved by: https://github.com/zdevito