Add a few peepholes (#62910)
authorElias Ellison <eellison@fb.com>
Tue, 17 Aug 2021 18:21:50 +0000 (11:21 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 17 Aug 2021 18:26:38 +0000 (11:26 -0700)
commite2227e86e4a93cf2b9b8691eaaaed2e8ce09eede
tree5fd329c217823dc7f8fa63d15318db0227bb582e
parent9a607594534f27396c9ea703f7e9c818df662195
Add a few peepholes (#62910)

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

Test Plan: Imported from OSS

Reviewed By: gchanan

Differential Revision: D30196947

Pulled By: eellison

fbshipit-source-id: d88c92616d4de4f47ff4fcf5c1994e629ca20395
test/jit/test_peephole.py
torch/csrc/jit/passes/peephole_non_tensor.cpp