[DOC] Add doc for maybe_wrap_dim (#63161)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63161
Test Plan: Imported from OSS
Reviewed By: pbelevich
Differential Revision: D30629451
Pulled By: tugsbayasgalan
fbshipit-source-id: b03f030f197e10393a8ff223b240d23c30858028