Skip to content

Commit 9766d34

Browse files
Move dpt.unique_all() and dpt.unique_inverse() and reuse it in dpnp
1 parent 8b010b0 commit 9766d34

3 files changed

Lines changed: 371 additions & 3 deletions

File tree

dpctl_ext/tensor/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,10 @@
8383
from ._accumulation import cumulative_logsumexp, cumulative_prod, cumulative_sum
8484
from ._clip import clip
8585
from ._searchsorted import searchsorted
86-
from ._set_functions import ( # isin,; unique_all,; unique_inverse,
86+
from ._set_functions import (
87+
unique_all,
8788
unique_counts,
89+
unique_inverse,
8890
unique_values,
8991
)
9092
from ._sorting import argsort, sort
@@ -142,7 +144,9 @@
142144
"to_numpy",
143145
"tril",
144146
"triu",
147+
"unique_all",
145148
"unique_counts",
149+
"unique_inverse",
146150
"unique_values",
147151
"unstack",
148152
"where",

0 commit comments

Comments
 (0)