-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes `dpt.copy` returning TypeError instead of raising When provided a non-usm_ndarray-input to copy, copy would return the error instead of raising it * Permits clip arguments `min` and `max` to both be `None` Also resolves gh-1489 * Specify that Python scalars are permitted for `max` and `min` in `clip` * Adds tests to `test_tensor_clip.py` improve `_clip.py` coverage
- Loading branch information
1 parent
8ed8ef2
commit 8f82fe1
Showing
3 changed files
with
187 additions
and
21 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
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