Skip to content

Commit 1837844

Browse files
Use dpctl.tensor._scakal_utils for elementwise
1 parent 26c6ff6 commit 1837844

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dpnp/dpnp_algo/dpnp_elementwise_common.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
BinaryElementwiseFunc,
3838
UnaryElementwiseFunc,
3939
)
40+
from dpctl.tensor._scalar_utils import (
41+
_get_dtype,
42+
_get_shape,
43+
_validate_dtype,
44+
)
4045

4146
# pylint: disable=no-name-in-module
4247
# TODO: revert to `import dpctl.tensor...`
@@ -46,11 +51,6 @@
4651
import dpctl_ext.tensor._tensor_impl as dti
4752
import dpnp
4853
import dpnp.backend.extensions.vm._vm_impl as vmi
49-
from dpctl_ext.tensor._scalar_utils import (
50-
_get_dtype,
51-
_get_shape,
52-
_validate_dtype,
53-
)
5454
from dpnp.dpnp_array import dpnp_array
5555
from dpnp.dpnp_utils import get_usm_allocations
5656
from dpnp.dpnp_utils.dpnp_utils_common import (

0 commit comments

Comments
 (0)