Add docs for distributed optimizer. (#29971)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29971
ghstack-source-id: 94132160
Test Plan: waitforbuildbot
Differential Revision: D18554631
fbshipit-source-id: c4485f7cff5159f423d0f35d1caf71074b62dc28