Fix overload names (#28182)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/28182
They haven't been unique. Fixing it...
ghstack-source-id: 92436985
Test Plan: waitforsandcastle
Differential Revision: D17969010
fbshipit-source-id: 1aacbfb3c18a75ca6743b03cc2eea5fc4d3685c9