Repository navigation
Initial implementation of np.take_along_axis #7202
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 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
bf1e335
Move utility method out, so it can be used by other modules.
itamarst 4582bc8
A sketch of sorts.
itamarst b82dd24
A bit closer to working, maybe.
itamarst 0cc9d7c
Even closer, maybe.
itamarst ada5b42
Actually works for some values.
itamarst 372e34c
Fix off by one bug that caused segfaults for some axis.
itamarst d7c7985
Some documentation and comments for np.take_along_axis.
itamarst df2f29a
Tests for error cases of np.take_along_axis.
itamarst fe60ca9
Fix axis=None case.
itamarst d95a4bd
More test cases for np.take_along_axis().
itamarst 0fcfb09
Tests (and corresponding bug fix) for take_along_axis() semantics.
itamarst dcab297
Fix flakes.
itamarst 0dc3b76
Merge branch 'master' into np-take_along_axis
itamarst e759d98
Sometimes we take NumPy code from examples or other parts of the docu…
itamarst 75ded55
Function was renamed.
itamarst da3b6e4
More succinct testing strategy
itamarst cfc28ed
Better explanation
itamarst 7a70596
Point to stable location, in source code.
itamarst 1ae5f53
Get rid of additional, erroneous outer loop.
itamarst b676024
Bounds check is up to user.
itamarst dbcf274
These functions will only ever be used from JITed code.
itamarst 9ec64da
Minor optimization.
itamarst bd64769
Bit nicer testing.
itamarst 7e65814
More input validation.
itamarst ede8d01
Flakes.
itamarst c86836a
A failing test.
itamarst f7b94d9
Get rid of combinatoric code repetition by doing a little song and da…
itamarst 4ee6bb2
Better explanation.
itamarst b951a63
Merge remote-tracking branch 'origin/master' into np-take_along_axis
itamarst fd3c73d
Support for pre-broadcasting.
itamarst 1d180d5
Additional tests for new broadcasting support.
itamarst 47a32e9
Flake fixes.
itamarst dbedd9c
Apply suggestions from code review
itamarst 01f9c9f
Fix flake.
itamarst 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
These functions will only ever be used from JITed code.
- Loading branch information
commit dbcf274daef32988cb7f73cb29b27c2db160393a
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
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.