-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[CINN]shape inference for logsumexp logcumsumexp linspace logspace min poisson repeat_interleave topk uniform #62800
Merged
Merged
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a4cc6a6
implement logcumsumexp and min op shape inference by reuse
Xinyu302 7b925ad
Add LinspaceOpInferSymbolicShape
Xinyu302 7a84e9f
Add Poisson shape inference
Xinyu302 fbbcf35
Add LogsumexpOpInferSymbolicShape by reusing SumOpInferSymbolicShape
Xinyu302 a9dd64a
add TopkOpInferSymbolicShape
Xinyu302 d9844df
add UniformOpInferSymbolicShape
Xinyu302 a9cd639
add RepeatInterleaveOpInferSymbolicShape
Xinyu302 a3d3c93
compile
Xinyu302 e624e1f
add serveral tests
Xinyu302 1f5f8ce
fix LogsumexpOpInferSymbolicShape
Xinyu302 e73dd27
add test for RepeatInterleaveOp
Xinyu302 73252ab
add test for logcumsumexp
Xinyu302 0158c73
Merge remote-tracking branch 'upstream/develop' into same-shape
Xinyu302 4a5217a
bug fix
Xinyu302 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
axis (int,可选) – 指定对输入 x 进行运算的轴,若未指定,默认值为 None,使用输入 Tensor 的 flatten 形式。
应该是把 tensor 按照 1 维 vector进行处理、参考一下 infermeta ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
经过讨论确认、ir 中会插入 flatten op