pytorch
d6b15bfc - [jit][edge] Load interface methods to corresponding ClassTypes. (#65971)

Commit
3 years ago
[jit][edge] Load interface methods to corresponding ClassTypes. (#65971) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65971 ghstack-source-id: 141842335 We should be able to load methods into their ClassTypes. Right now mobile runtime only loads data member to ClassTypes but not for methods. To support interface call, we inject methods into ClassTypes when the methods are loaded. Test Plan: existing tests should all pass. Reviewed By: qihqi Differential Revision: D31326146 fbshipit-source-id: fb1dbea619910ef1f8fa26146da3ebab348fe902
Author
Parents
  • torch/csrc/jit/mobile
    • File
      import.cpp
    • File
      module.cpp