pytorch
c596ec7e - [pytorch] update code analyzer script to cover new c10::Module::def API (#33975)

Commit
4 years ago
[pytorch] update code analyzer script to cover new c10::Module::def API (#33975) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33975 Currently the code analysis script doesn't go beyond the scope of the registration API call, i.e. calling registration via a wrapper will not be covered by the analysis - currently the new API is essentially a wrapper around old API. Simply adding the new API signature to the registration API pattern can solve the problem for now. We might need change the analyzer code if things change significantly in the future. Test Plan: - update test project to use the new API; - run analyzer against pytorch codebase; Differential Revision: D20169549 Pulled By: ljk53 fbshipit-source-id: c7925fa0486eee18f07e791a38c32152fee59004
Author
Parents
Loading