pytorch
0eaf0810 - [JIT] canonicalize aten::rsub (#65014)

Comment changes are shownComment changes are hidden
Commit
3 years ago
[JIT] canonicalize aten::rsub (#65014) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65014 ghstack-source-id: 138656948 Test Plan: ``` (pytorch) [maxren@devvm3115.atn0 ~/pytorch] python3 test/test_jit.py TestPeephole CUDA not available, skipping tests monkeytype is not installed. Skipping tests for Profile-Directed Typing ........s...................... ---------------------------------------------------------------------- Ran 31 tests in 0.393s OK (skipped=1) (pytorch) [maxren@devvm3115.atn0 ~/pytorch] python3 test/test_jit.py TestPeephole.test_normalized_rsub CUDA not available, skipping tests monkeytype is not installed. Skipping tests for Profile-Directed Typing . ---------------------------------------------------------------------- Ran 1 test in 0.015s OK ``` Reviewed By: eellison Differential Revision: D30941389 fbshipit-source-id: 03f0416d99090845c9bfb1e5fcf771d5f1d7a050
Author
Parents
  • test
    • jit
      • File
        test_peephole.py
    • File
      test_jit_fuser_te.py
    • File
      test_ops.py
  • torch/csrc/jit/passes
    • File
      normalize_ops.cpp