-
Notifications
You must be signed in to change notification settings - Fork 22
Implement dpnp.compress
and dpnp_array.compress
method
#2177
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
antonwolfy
merged 21 commits into
IntelPython:master
from
ndgrigorian:dpnp-compress-impl
Nov 26, 2024
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9641064
Implement dpnp.compress
ndgrigorian 466edd9
Add `dpnp_array.compress` method
ndgrigorian 07304be
Break up `compress` to satisfy pylint
ndgrigorian e0aa410
Unmute third-party tests for `compress`
ndgrigorian e22b968
Use `get_usm_allocations` in `compress`
ndgrigorian 1f51311
Fix bug where `out` in `compress` is dpnp_array
ndgrigorian fc85e73
Apply comments per PR review by @antonwolfy
ndgrigorian 2381662
Remove branching when `condition` is an array
ndgrigorian 49bfa0e
Add tests for `compress`
ndgrigorian e53b84e
Re-use `_take_index` for `dpnp.take`
ndgrigorian 5818d10
Change error for incorrect out array dtype to `TypeError`
ndgrigorian 9a4430c
Move compress tests into a TestCompress class
ndgrigorian b4264a8
Use NumPy in compress tests
ndgrigorian 81d8181
Add `no_none=True` to `test_compress_condition_all_dtypes`
ndgrigorian ec299bc
Add USM type and SYCL queue tests for `compress`
ndgrigorian edace9e
More tests for compress added
ndgrigorian cd6add4
Docstring change per PR review
ndgrigorian 2ec457e
Integrate test for compute follows data in compress into test_2in_1out
ndgrigorian 108f76f
Add test for `dpnp_array.compress` and add a test for strided inputs …
ndgrigorian 4ca0e30
Refactor `test_compress` in test_usm_type.py into `test_2in_1out`
ndgrigorian 0a8bfe3
Merge branch 'master' into dpnp-compress-impl
ndgrigorian 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
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
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.