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][Quantization] Fix duplicated simulated quantization #2803

Merged
merged 1 commit into from
Mar 14, 2019

Conversation

vinx13
Copy link
Member

@vinx13 vinx13 commented Mar 13, 2019

There is a case that attach_simulated_quantize is called twice (one in multiref trigger of Annotate pass, one in QAnnotateExprNode::Realize). This PR added a check to return the input directly in this case.

@ZihengJiang

@tqchen tqchen merged commit df72239 into apache:master Mar 14, 2019
@tqchen
Copy link
Member

tqchen commented Mar 14, 2019

Thanks @vinx13 this is now merged

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