pytorch
c5c7687b - Allow FakeTensorProp to run on graphs traced with some None inputs (#94569)

Commit
1 year ago
Allow FakeTensorProp to run on graphs traced with some None inputs (#94569) Without this tiny change in `torch/_subclasses/fake_tensor.py`, the added test may fail with ``` TypeError: cannot create weak reference to 'NoneType' object ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/94569 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading