Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run peephole to do profile-based optimizations (pytorch#33337)
Summary: We need to run a peephole before constant propagation in the profiling pipeline, so we fold `prim::shape` for inputs with complete tensor types. Pull Request resolved: pytorch#33337 Differential Revision: D19905624 Pulled By: Krovatkin fbshipit-source-id: 80fff067941556053847ddc7afe0fd1c7a89a3ba
- Loading branch information