[FX] Fix GraphModule deepcopy to use deepcopied graph (#63090)
authorJames Reed <jamesreed@fb.com>
Wed, 18 Aug 2021 20:16:01 +0000 (13:16 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 18 Aug 2021 20:17:14 +0000 (13:17 -0700)
commitd661e646add3256b85687faab4197d2d1aab3dec
tree4cccad815e847a253420016e06898db6aaed375a
parent11fbd3958cb7ab69a9764d9ae9b000f24333ec40
[FX] Fix GraphModule deepcopy to use deepcopied graph (#63090)

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

Test Plan: Imported from OSS

Reviewed By: ansley

Differential Revision: D30252471

Pulled By: jamesr66a

fbshipit-source-id: cafd7d7917935a5ea6ffa2a7fe9e9b2a9578b3e3
test/test_fx.py
torch/fx/graph_module.py