pytorch
ce797795 - Support `getattr` for ConstantVariable when compiling with Dynamo (#98153)

Commit
3 years ago
Support `getattr` for ConstantVariable when compiling with Dynamo (#98153) This PR enables `getattr` on ConstantVariable by implementing its `call_hasattr` function. Fixes #97480 Pull Request resolved: https://github.com/pytorch/pytorch/pull/98153 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading