-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[TF] Added support for advanced indexing and slicing #23684
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 all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
96a894a
Initial attempt at advanced indexing and slicing.
eaplatanios 0afbbea
Added '@inlinable'.
eaplatanios 5610318
Removed the commented out implementations of 'Tensor.subscript'.
eaplatanios 40f6021
Addressed Richard's comments.
eaplatanios e2cdf31
Minor edits.
eaplatanios 2ae2c2c
Resolved merge conflict.
eaplatanios d0f43b8
Updated some of the dependencies.
eaplatanios 4237986
Fixed the build script to work with the latest TensorFlow updates.
eaplatanios 0f37daa
Additional fix to the build script.
eaplatanios 6d55664
Added support for tensor advanced indexing subscript setters.
eaplatanios 7e6d040
Additional fix to the build script.
eaplatanios c22a0e3
Updated dependencies.
eaplatanios d739d4e
Merged upstream changes.
eaplatanios 44d22a8
Merge remote-tracking branch 'upstream/tensorflow' into advanced-inde…
eaplatanios b6c9156
Merge remote-tracking branch 'upstream/tensorflow' into advanced-inde…
eaplatanios 89f2801
Added a couple tests for the tensor subscript setter.
eaplatanios 7c57019
Added subscript getter VJP.
eaplatanios 216aa79
Made the tensor subscript infinitely differentiable.
eaplatanios 7626d13
Added VJP for slice.
eaplatanios 9a3e1a7
Merged upstream changes.
eaplatanios 548f98c
Updated the TensorFlow dependency.
eaplatanios f745756
Addressed some of Richard's comments.
eaplatanios e291758
Did some refactoring.
eaplatanios 08a2950
Added some convenient helpers.
eaplatanios f4cbf03
Addressed Richard's comments.
eaplatanios ae2f4a0
Addressed some of Richard's comments.
eaplatanios 72abd58
Made some modifications to the tensor indexing helpers and added a fe…
eaplatanios f26fad8
Added a stride operator and addressed Richard's comments.
eaplatanios d42ed49
Merged upstream changes.
eaplatanios 00af1a4
Merged upstream changes.
eaplatanios 01b0f2f
Switched from Int32 to Int for the tensor advanced indexing ops.
eaplatanios 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
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.