Skip to content

Commit aa313ff

Browse files
Move ti.min()/max() and reuse it in dpnp
1 parent 1b4e498 commit aa313ff

3 files changed

Lines changed: 427 additions & 2 deletions

File tree

dpctl_ext/tensor/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383

8484
from ._accumulation import cumulative_logsumexp, cumulative_prod, cumulative_sum
8585
from ._clip import clip
86+
from ._reduction import (
87+
max,
88+
min,
89+
)
8690
from ._searchsorted import searchsorted
8791
from ._set_functions import (
8892
isin,
@@ -126,7 +130,9 @@
126130
"isdtype",
127131
"isin",
128132
"linspace",
133+
"max",
129134
"meshgrid",
135+
"min",
130136
"moveaxis",
131137
"permute_dims",
132138
"nonzero",

0 commit comments

Comments
 (0)