|
27 | 27 | # ***************************************************************************** |
28 | 28 |
|
29 | 29 |
|
30 | | -from dpctl.tensor._search_functions import where |
31 | | - |
32 | | -from dpctl_ext.tensor._copy_utils import ( |
| 30 | +from ._accumulation import cumulative_logsumexp, cumulative_prod, cumulative_sum |
| 31 | +from ._clip import clip |
| 32 | +from ._copy_utils import ( |
33 | 33 | asnumpy, |
34 | 34 | astype, |
35 | 35 | copy, |
36 | 36 | from_numpy, |
37 | 37 | to_numpy, |
38 | 38 | ) |
39 | | -from dpctl_ext.tensor._ctors import ( |
| 39 | +from ._ctors import ( |
40 | 40 | arange, |
41 | 41 | asarray, |
42 | 42 | empty, |
|
53 | 53 | zeros, |
54 | 54 | zeros_like, |
55 | 55 | ) |
56 | | -from dpctl_ext.tensor._indexing_functions import ( |
| 56 | +from ._indexing_functions import ( |
57 | 57 | extract, |
58 | 58 | nonzero, |
59 | 59 | place, |
|
62 | 62 | take, |
63 | 63 | take_along_axis, |
64 | 64 | ) |
65 | | -from dpctl_ext.tensor._manipulation_functions import ( |
| 65 | +from ._manipulation_functions import ( |
66 | 66 | broadcast_arrays, |
67 | 67 | broadcast_to, |
68 | 68 | concat, |
|
78 | 78 | tile, |
79 | 79 | unstack, |
80 | 80 | ) |
81 | | -from dpctl_ext.tensor._reshape import reshape |
82 | | -from dpctl_ext.tensor._utility_functions import all, any, diff |
83 | | - |
84 | | -from ._accumulation import cumulative_logsumexp, cumulative_prod, cumulative_sum |
85 | | -from ._clip import clip |
86 | 81 | from ._reduction import ( |
87 | 82 | argmax, |
88 | 83 | argmin, |
|
94 | 89 | reduce_hypot, |
95 | 90 | sum, |
96 | 91 | ) |
| 92 | +from ._reshape import reshape |
| 93 | +from ._search_functions import where |
97 | 94 | from ._searchsorted import searchsorted |
98 | 95 | from ._set_functions import ( |
99 | 96 | isin, |
|
104 | 101 | ) |
105 | 102 | from ._sorting import argsort, sort, top_k |
106 | 103 | from ._type_utils import can_cast, finfo, iinfo, isdtype, result_type |
| 104 | +from ._utility_functions import all, any, diff |
107 | 105 |
|
108 | 106 | __all__ = [ |
109 | 107 | "all", |
|
0 commit comments