Update gather documentation to allow index.shape[k] <= input.shape[k] rather than ==. (#41887)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/41887
Test Plan: Imported from OSS
Reviewed By: ngimel
Differential Revision: D22680014
Pulled By: gchanan
fbshipit-source-id: b162fccabc22a1403c0c43c1131f0fbf4689a79d