Eliminate unused parameters in PyTorch (#73749)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73749
Unused parameters cause compiler warnings which distract from real issues. Let's remove unused parameters!
Test Plan: Sandcastle
Reviewed By: swolchok, ngimel
Differential Revision: D34567731
fbshipit-source-id: 2e42301a29a8e1014ac8ab429588bb773db58850
(cherry picked from commit 3eda4743991328d532194efd0fe3d127a294343d)