[pt][static_runtime] Add option enable_out_variant (#46690)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46690
- Add option enable_out_variant to Static Runtime
- Add gflags --pt_cleanup_activations and --pt_enable_out_variant to the benchmark script
Reviewed By: yinghai, houseroad
Differential Revision: D24438107
fbshipit-source-id: c1185c0fee93edc0118542b2faa8bc4ffdd19075