Use optimized_graph in graph_executor.
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/26705
Test Plan: Imported from OSS
Differential Revision: D17543281
Pulled By: ZolotukhinM
fbshipit-source-id: 91c40559aac6f2a1f77060fa28c33725a2b8e5f9
Author
Mikhail Zolotukhin