Avoid unnecessary copy of ExecutionPlan in operator() (#71982)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71982
Remove unnecessary copy
Test Plan: CI + perf measurement
Reviewed By: marksantaniello
Differential Revision: D33816746
fbshipit-source-id: 1145f2f8b2e3516520bbf5069a4e7399516f4497
(cherry picked from commit 0a18a6f3bafc948a0ae1129a3403fec8cc097e38)