-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leverage on dpctl implementation of
shape.setter
(#1975)
* Leverage on dpctl shape.setter for any input * Mute false-positive pylint issue * Remove disable=invalid-unary-operand-type since resolved with pylint 3.2.6 * Implement `dpnp.nan_to_num()` (#1966) * Implement dpnp.nan_to_num() * Update cupy tests for nan_to_num() * Add dpnp tests * Skip test_nan_to_num_scalar_nan * Applied review comments * Add more tests for nan_to_num() * Improve perfomance using out empty_like array * Add checks for nan, posinf, neginf args * Add type check for nan, posinf and neginf * Update tests * Add support boolean type * Apply suggestions from code review Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com> * Corrected a link in docstring * Updated wring indention --------- Co-authored-by: vlad-perevezentsev <vladislav.perevezentsev@intel.com> Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>
- Loading branch information
1 parent
6ae16ce
commit 4a23239
Showing
2 changed files
with
51 additions
and
13 deletions.
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