update optimize_for_inference docs (#64428)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64428
Test Plan: Imported from OSS
Reviewed By: pbelevich
Differential Revision: D30740898
Pulled By: eellison
fbshipit-source-id: b94d2c3deb661a6ba048f19e8c1d5e1799667eeb