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

[NNVM] Bug fix Add missing check when deciding conv and injective ops are in the same group #1622

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

masahi
Copy link
Member

@masahi masahi commented Aug 19, 2018

Fix the bug found by @kazum in #1608. When an injective op's fuse type is kRealize, the change in #1608 should be nop, because the injective op will not be fused with conv anyway.

I added a check to make sure that injective op's fuse type is kFuseToMaster, which is the only relevant case when determining if conv and injective op are in the same group. A test case is added.

@tqchen @kazum please review.

Copy link
Contributor

@kazum kazum left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@tqchen tqchen merged commit b00aabc into apache:master Aug 20, 2018
@tqchen
Copy link
Member

tqchen commented Aug 20, 2018

Thanks @kazum @masahi , this is now merged

FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
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