pytorch
b02b3f25 - [SR] Quick hack to eliminate no-op slice (#75774)

Commit
2 years ago
[SR] Quick hack to eliminate no-op slice (#75774) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/75774 `list[0:]` is a no-op. This should really be eliminated on the modeling side, implement as a graph pass for now until we can get this into prod models. Test Plan: New unit tests Reviewed By: navahgar Differential Revision: D35632947 fbshipit-source-id: 0c564193c35039130e99172e0185e124ea24f62d (cherry picked from commit e01d5273185e39a563c7acb15662d9c1549d4b58)
Author
Mike Iovine
Committer
Parents
Loading