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] fix error in ANF (too agressively inline atomic expression and create free variable). #2665

Merged
merged 5 commits into from
Feb 26, 2019

Conversation

MarisaKirisame
Copy link
Contributor

Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@@ -256,7 +256,8 @@ bool IsPrimitiveFunction(const Expr& e) {
return e.as<FunctionNode>() && Downcast<Function>(e)->IsPrimitive();
}

class Fill : ExprFunctor<Expr(const Expr&, const Var&)> {
using FlushTo = std::shared_ptr<Var>; // if it is defined, always flush current expr into it.
Copy link
Member

Choose a reason for hiding this comment

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

Please elaborate on why such data structure is introduced

@MarisaKirisame
Copy link
Contributor Author

MarisaKirisame commented Feb 26, 2019

@tqchen can you review?

@tqchen tqchen merged commit a1b8610 into apache:master Feb 26, 2019
@tqchen
Copy link
Member

tqchen commented Feb 26, 2019

Thanks @MarisaKirisame , this is now merged, please request more reviewers from the reviewer list next time :)

@yzhliu yzhliu mentioned this pull request Mar 2, 2019
28 tasks
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 9, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 12, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Mar 12, 2019
@MarisaKirisame MarisaKirisame deleted the fix-anf branch March 28, 2019 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants