pytorch
a57f92e4 - [jit] copy unused/ignored methods to ScriptModule during compilation (#33981)

Comment changes are shownComment changes are hidden
Commit
4 years ago
[jit] copy unused/ignored methods to ScriptModule during compilation (#33981) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33981 Okay it turns out that https://github.com/pytorch/pytorch/pull/29342 deletes actually useful things from the resulting Python module. In particular, people like having `ignore`'d methods attached so that they can invoke them from python. Test Plan: Imported from OSS Differential Revision: D20171650 Pulled By: suo fbshipit-source-id: 71862e932c6a56cd055d0cff6657887ee0ceb9a8
Author
suo suo
Parents
  • torch/jit
    • File
      _recursive.py
Loading