Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relay] Change some passes to mix mode #6695

Merged
merged 1 commit into from Oct 16, 2020
Merged

Conversation

lixiaoquan
Copy link
Contributor

@mbrookhart Could you please take a look?

Copy link
Contributor

@mbrookhart mbrookhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpick on constant folding, but it's definitely not an issue. Overall, looks great! Thanks for doing this!

@@ -118,7 +120,7 @@ class ConstantFolder : public ExprMutator {
}
}

Expr VisitExpr_(const CallNode* call) final {
Expr Rewrite_(const CallNode* call, const Expr& post) final {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(nitpick) You could locally rename this argument from post to res, and then you wouldn't need most of the other changes in the function?

@mbrookhart
Copy link
Contributor

@jroesch or @tqchen, care to take a look and/or merge?

@tqchen tqchen merged commit e997185 into apache:main Oct 16, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Oct 29, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Dec 2, 2020
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Dec 4, 2020
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants