Eliminate unused parameters in PyTorch (#73625)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73625
Unused parameters cause compiler warnings which distract from real issues. Let's remove unused parameters!
Test Plan: Sandcastle
Reviewed By: ngimel
Differential Revision: D34567733
fbshipit-source-id: ce09ccb7879f234b06618208b94d69a6580e0fc3
(cherry picked from commit 69b5fcd484d46230d438742bebdc67ec0e60e7be)