Change trigger to trigger.name (#173676)
Summary:
I'm not quite sure about this fix and it's not tested (just from looking at the code), so please correct me if I'm mistaken, but shouldn't it be trigger.name in order to be consistent with sum += cls._values.get(f"missed_bytes_{trigger.name}", 0)? Thanks!
X-link: https://github.com/pytorch/pytorch/pull/173676
Approved by: https://github.com/Lucaskabela
Reviewed By: seemethere
Differential Revision: D92794913
fbshipit-source-id: 1cbe581e2c55f47ca3f48f7c68b4ac93a0836b20
Author
generatedunixname499836121