pytorch
00a7f55b - Apply for MOBILE_MODULE_STATS Logging (#61600)

Commit
3 years ago
Apply for MOBILE_MODULE_STATS Logging (#61600) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61600 This diff changes the module.h constructor, and removes metadata_. It refactors all the constructors caller side, and creates a getter & setting for metadata_. MOBILE_MODULE_STATS reads the metadata from mobile::Module, and pass it into logger. Test Plan: Since 3D Photo is disabled for current FB app, testings are only performed on CC scanner. # Test On CC Scanner **Test content with LOG(WARNING)** {P428930572} **Scuba Logger Output** {F631761194} Reviewed By: xcheng16 Differential Revision: D29673184 fbshipit-source-id: 962e0d7b06a07caaa0c695a4ac58b885fd1505ea
Author
Parents
Loading