pytorch
f23f362c - [Profiler] Use strong typedef for Tensor ID (#85718)

Commit
2 years ago
[Profiler] Use strong typedef for Tensor ID (#85718) I want add Tensor ID to allocations (for allocs which are `StorageImpl`s). To keep things safe and organized I need to pull the ID type into a standalone entity, which makes it an ideal time to convert to a strong typedef. Differential Revision: [D39788872](https://our.internmc.facebook.com/intern/diff/D39788872/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/85718 Approved by: https://github.com/chaekit
Author
Taylor Robie
Committer
Parents
Loading