Skip to content

Commit 32802d6

Browse files
Move ti.any()/ti.diff() and reuse them in dpnp
1 parent b1953df commit 32802d6

4 files changed

Lines changed: 383 additions & 7 deletions

File tree

dpctl_ext/tensor/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
unstack,
8080
)
8181
from dpctl_ext.tensor._reshape import reshape
82-
from dpctl_ext.tensor._utility_functions import all
82+
from dpctl_ext.tensor._utility_functions import all, any, diff
8383

8484
from ._accumulation import cumulative_logsumexp, cumulative_prod, cumulative_sum
8585
from ._clip import clip
@@ -96,6 +96,7 @@
9696

9797
__all__ = [
9898
"all",
99+
"any",
99100
"arange",
100101
"argsort",
101102
"asarray",
@@ -110,6 +111,7 @@
110111
"cumulative_logsumexp",
111112
"cumulative_prod",
112113
"cumulative_sum",
114+
"diff",
113115
"empty",
114116
"empty_like",
115117
"extract",

0 commit comments

Comments
 (0)