[TensorExpr] Add LoopNest::simplify.#50850
Closed
ZolotukhinM wants to merge 1 commit intogh/ZolotukhinM/394/basefrom
Closed
[TensorExpr] Add LoopNest::simplify.#50850ZolotukhinM wants to merge 1 commit intogh/ZolotukhinM/394/basefrom
ZolotukhinM wants to merge 1 commit intogh/ZolotukhinM/394/basefrom
Conversation
[ghstack-poisoned]
Chillee
approved these changes
Jan 21, 2021
Collaborator
Chillee
left a comment
There was a problem hiding this comment.
LGTM
If I'm understanding this right, this is just a wrapper around te.simplify(loopnest.root_stmt())?
Author
It also updates the root_stmt of the loopnest - that's the main reason I added it. This place is a bit yucky tbh - i.e. we could do something with stmt and then root_stmt becomes stale. In future we need to clean this up, but for now we will have this workaround :) |
Contributor
|
@ZolotukhinM merged this pull request in 5f07b53. |
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 24, 2026
Summary: Pull Request resolved: pytorch#50850 Test Plan: Imported from OSS Reviewed By: Chillee Differential Revision: D25985085 Pulled By: ZolotukhinM fbshipit-source-id: e51709423c2c12b37b449a9d7bb22be04cda7ef1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Differential Revision: D25985085