pytorch
ccd09770 - [Static Runtime] Support prim::GetAttr/SetAttr (#61505)

Commit
3 years ago
[Static Runtime] Support prim::GetAttr/SetAttr (#61505) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61505 The handling of `self` in static runtime was previously incorrect. This diff fixed that issue, since self is essential to prim::GetAttr/SetAttr. After all, most of the time we're getting and setting attributes from self, the torch script module. Reviewed By: ajyu Differential Revision: D29350173 fbshipit-source-id: 6e62add4cda517ef8cd6c315d4cb0595e7d531fb
Author
Hao Lu
Parents
Loading