-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Add partial data propagation to enhance shape inference #26269
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
d345c26
update
chilo-ms cb52305
Modify to make it work correctly
chilo-ms fb5a424
Save scalar value after data propagation
chilo-ms bd14235
correctly save the inferred shape values in NodeArg for other ops' da…
chilo-ms e2c532f
refactor the code and add comments
chilo-ms f79f65b
add tests
chilo-ms dbe36a8
update error message
chilo-ms d310a26
fix warnings from pipelines
chilo-ms 3fa22a0
handle for Unsqueeze 11 and eariler that axes is node attribute
chilo-ms 92c71be
fix issue for 'indices' input to Gather has negative value
chilo-ms f652eec
address issue from pipeline
chilo-ms 78ed993
fix pipeline warning
chilo-ms 035a66e
fix warning in pipeline
chilo-ms e3e26a0
refactor the code
chilo-ms 6d478cb
Merge branch 'main' into chi/fix_shape_inference
chilo-ms 9dc51aa
address reviewer's comments
chilo-ms 1ec4bf9
fix bug after using std::optional to store value
chilo-ms 1391a15
address reviewer's comments
chilo-ms 21d5e33
add check for get initializer as in-memory external
chilo-ms e59216b
fix type issue
chilo-ms eb8be39
Merge branch 'main' into chi/fix_shape_inference
chilo-ms 2616c6f
refactor code and address corner case
chilo-ms 73e38ad
Add clean up for inferred shape values and fix bugs
chilo-ms 8bbebf4
add more tests
chilo-ms de2ad68
revert
chilo-ms 24ed992
Add test model
chilo-ms 40c8d09
lintrunner -a
chilo-ms 8b444c4
address reviewer's comments
chilo-ms 49f7063
use utils::UnpackTensor
chilo-ms 4649a73
address reviewer's comments
chilo-ms 2043c3a
remove commented code
chilo-ms f6b3f63
lintrunner -a
chilo-ms 89faeab
fix pipeline issue
chilo-ms 037c5cb
refactor code and fix bug
chilo-ms 6bf5e97
add try/catch for HandleNegativeAxis()
chilo-ms 114a0fb
refactor
chilo-ms 2e263ae
address reviewer's comments
chilo-ms dad69a5
update
chilo-ms a2d12dd
fix logic
chilo-ms 9abfc68
address reviewer's comments
chilo-ms 7754921
address reveiwer's comments
chilo-ms 745e095
address reveiwer's comments
chilo-ms b959403
update class comments
chilo-ms 29ff80f
address revewer's comments
chilo-ms d08da8c
address reviewer's comments
chilo-ms 5f9f09a
Merge branch 'main' into chi/fix_shape_inference
chilo-ms 9b35eee
update comment
chilo-ms 2c59c09
update ORT_TRY/ORT_CATCH
chilo-ms 58c1711
update
chilo-ms 9af5e28
fix compile warning
chilo-ms 280ebf9
add node_arg.Exists() check
chilo-ms b431a1c
address reviewer's comments
chilo-ms 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 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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.