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

Fix serialization of inf float value #5912

Merged
merged 1 commit into from Jun 24, 2020
Merged

Fix serialization of inf float value #5912

merged 1 commit into from Jun 24, 2020

Conversation

lixiaoquan
Copy link
Contributor

@lixiaoquan lixiaoquan commented Jun 24, 2020

@tqchen Could you please take a look?

@tqchen tqchen merged commit fcaba98 into apache:master Jun 24, 2020
@tqchen
Copy link
Member

tqchen commented Jun 24, 2020

Thanks @lixiaoquan ! it appears that I merged pre-maturely, can you followup with a testcase that covers the fix? Thank you

@junrushao
Copy link
Member

Good catch! Do we also want to support NaN as well?

@lixiaoquan
Copy link
Contributor Author

Thanks @lixiaoquan ! it appears that I merged pre-maturely, can you followup with a testcase that covers the fix? Thank you

This PR includes a test called test_infinity_value().

@lixiaoquan
Copy link
Contributor Author

Good catch! Do we also want to support NaN as well?

Thanks for mentioning that, I'll send another PR for that

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 30, 2020
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Jul 2, 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