pytorch
4481c87a - [tensorexpr] Simplify x/100 -> 0 if x is a non-negative integer less than 100. (#64763)

Commit
3 years ago
[tensorexpr] Simplify x/100 -> 0 if x is a non-negative integer less than 100. (#64763) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64763 Simplification pattern: x/N -> 0; N is a constant positive integer and x is a for-loop index whose range is a subset of [0, N). Test Plan: Imported from OSS Reviewed By: bertmaher Differential Revision: D30845854 Pulled By: huiguoo fbshipit-source-id: 814d69ed4be05e57405c222183cc1c6c526721cd
Author
Parents
Loading