Avoid infinite recursion in __torch_function__ example (#55391)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/55284
This gets the example to run but probably doesn't help the readability of the example.
Thoughts?
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55391
Reviewed By: mrshenli
Differential Revision: D27621096
Pulled By: ezyang
fbshipit-source-id: d02c4fb0001e54139a167b477fd3b4a229e4dc8c