-
Notifications
You must be signed in to change notification settings - Fork 386
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
Expose tensor slice selection to blueprint #6590
Merged
Merged
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
0ec1e03
Model tensor slice selection
Wumpf 1960c7e
use blueprint state directly in tensor view
Wumpf 7f7c72b
fill in missing fallback descriptions
Wumpf 952e914
wip snippet update and blueprint
Wumpf 4ea906d
codegen more struct serialization, manual serialization for some of t…
Wumpf 25fe156
finish snippet update
Wumpf 405d26b
bring back tensor dimension mapping reset buttons
Wumpf 37ac353
fix completely unrelated ci issue
Wumpf f143cd8
fix reset to default blueprint not working for cleared components of …
Wumpf 4ea5028
fix & improve handling for single dimension tensors
Wumpf 54324ed
change view fit default to keep aspect ratio
Wumpf 18d07f1
update tensor view image
Wumpf f06fdd2
add another exception to roundtrips.py
Wumpf 2224400
improve load_tensor_slice_selection_and_make_valid based on feedback
Wumpf fe46cd1
improve tensor_slice_selection docs based on feedback
Wumpf 59be4a0
more fbs documentation fixes
Wumpf a9c4440
improve view properties based on feedback
Wumpf 66770cb
improve snippets and init extension based on feedback
Wumpf 6359a88
Merge remote-tracking branch 'origin/main' into andreas/tensor-slice-…
Wumpf 07b40fa
Merge remote-tracking branch 'origin/main' into andreas/tensor-slice-…
Wumpf ab6c0d8
make code nicer based on pr feedback
Wumpf 54609c6
call dimensions x and y in tensor view snippet to make it harder to c…
Wumpf 651d013
add unit test for tensor slice selection
Wumpf 523554b
split load_tensor_slice_selection_and_make_valid into parts and unit …
Wumpf 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
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.
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.
This could really use a unit-test or two.
For instance, what happens if your dimensions are named
height, width
and the input isheight=1, width=null
? From just reading the code, it looks like maybe the output will beheight=1, width=1
.