[TVMScript] support float inf, -inf and nan in TVMScript parser and printer#12618
Merged
vinx13 merged 6 commits intoapache:mainfrom Aug 30, 2022
Merged
[TVMScript] support float inf, -inf and nan in TVMScript parser and printer#12618vinx13 merged 6 commits intoapache:mainfrom
vinx13 merged 6 commits intoapache:mainfrom
Conversation
vinx13
reviewed
Aug 26, 2022
Member
|
https://github.com/apache/tvm/blob/main/python/tvm/script/tir/__init__.pyi#L467-L477 should also be updated |
vinx13
reviewed
Aug 26, 2022
vinx13
reviewed
Aug 26, 2022
vinx13
approved these changes
Aug 26, 2022
Author
|
@tvm-bot rerun |
Member
|
CI error is related |
6c86d7a to
71d3630
Compare
vinx13
reviewed
Aug 29, 2022
Author
|
Thanks @vinx13 ! |
xinetzone
pushed a commit
to daobook/tvm
that referenced
this pull request
Nov 25, 2022
…rinter (apache#12618) * support float inf, -inf and nan in TVMScript parser and printer * address comment and fix lint * use type_extensions.Literal * address comments * fix win build * remove template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As mentioned in #12617 , this PR intends to provide support of float inf, -inf and nan in TVMScript parser and printer.
cc: @zxybazh @junrushao