[resubmit][FX] Prototype for guarding against mutable operations in tracing (#64467)
authorJames Reed <jamesreed@fb.com>
Fri, 3 Sep 2021 04:11:57 +0000 (21:11 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 3 Sep 2021 04:13:21 +0000 (21:13 -0700)
commite1c3e5f8308e6a47b76c8a22f7bc8cbc29aa4ae3
treef259ce48a2b9a55f7a48b52e4928f379b08ac77f
parentcd82bc1af901f86c562663eb1c09413c7d4a19b2
[resubmit][FX] Prototype for guarding against mutable operations in tracing (#64467)

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64467

Test Plan: Imported from OSS

Reviewed By: driazati

Differential Revision: D30744870

Pulled By: jamesr66a

fbshipit-source-id: fc652f8b17748f90dbeb83fabf3bd5bb57d6ff1a
test/expect/TestFXAPIBackwardCompatibility.test_class_member_back_compat-fx_backcompat_class_members.expect
test/test_fx.py
torch/csrc/jit/python/init.cpp
torch/fx/operator_schemas.py
torch/fx/proxy.py