Skip to content

Commit 5d45d85

Browse files
Move clip() to dpctl_ext/tensor and reuse it in dpnp
1 parent 4f00632 commit 5d45d85

File tree

3 files changed

+785
-1
lines changed

3 files changed

+785
-1
lines changed

dpctl_ext/tensor/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@
5757
)
5858
from dpctl_ext.tensor._reshape import reshape
5959

60+
from ._clip import clip
6061
from ._type_utils import can_cast, finfo, iinfo, isdtype, result_type
6162

6263
__all__ = [
6364
"asnumpy",
6465
"astype",
6566
"can_cast",
6667
"copy",
68+
"clip",
6769
"extract",
6870
"eye",
6971
"finfo",

0 commit comments

Comments
 (0)