[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