Actually deprecate __torch_function__ as plain methods (#64843)
authoralbanD <desmaison.alban@gmail.com>
Fri, 17 Sep 2021 15:01:33 +0000 (08:01 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 17 Sep 2021 15:32:53 +0000 (08:32 -0700)
commit6eafe7f15e264e1f163ccf53b3ef9c5306335945
tree1bfe2024a1ae8b59cd2138cffe2b734590eafca6
parent1ed9c33d081c9b8cfb03e021450c7bf52495db1d
Actually deprecate __torch_function__ as plain methods (#64843)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64843

Fix for https://github.com/pytorch/pytorch/issues/63767

Test Plan: Imported from OSS

Reviewed By: heitorschueroff

Differential Revision: D30991425

Pulled By: albanD

fbshipit-source-id: 1214143b8aea87e6ff406c7fc13096bd15d1a768
test/test_overrides.py
torch/overrides.py