Method-only entries in native functions should have self as first argument (#21549)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/21549
ghimport-source-id: a98fd7a18b4c523d9facb328a3b80a35416834ce
Differential Revision: D15724794
Pulled By: li-roy
fbshipit-source-id: a0f218cf6fd32d9694921685fc805d868156fce3