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

[Bugfix] Recover original layout when alter_layout function return None #2101

Merged
merged 2 commits into from
Nov 15, 2018

Conversation

yzhliu
Copy link
Member

@yzhliu yzhliu commented Nov 14, 2018

Without the fix, test_alter_func_return_none() would fail, produce the same result as test_consecutive_alter_layout(). Please help to review @merrymercy @kevinthesun


g = g.apply("AlterOpLayout")

# pool1 get replaced - output layout of pool1 is not recorded
Copy link
Contributor

@kevinthesun kevinthesun Nov 14, 2018

Choose a reason for hiding this comment

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

I think it would be helpful to have a tutorial briefly introducing layout related passes in tvm, making it easier for people to understand and debug. This pr itself lgtm.

@tqchen tqchen merged commit a396897 into apache:master Nov 15, 2018
@tqchen
Copy link
Member

tqchen commented Nov 15, 2018

Thanks, @kevinthesun @yzhliu , this is now merged

FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
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.

3 participants