Skip to content

Commit a48964e

Browse files
committed
Align import alias with ones used in other files
1 parent 63e945a commit a48964e

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

dpnp/dpnp_iface_logic.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444

4545
import dpctl.tensor as dpt
46-
import dpctl.tensor._tensor_elementwise_impl as tei
46+
import dpctl.tensor._tensor_elementwise_impl as ti
4747
import numpy
4848

4949
import dpnp
@@ -599,8 +599,8 @@ def array_equiv(a1, a2):
599599

600600
equal = DPNPBinaryFunc(
601601
"equal",
602-
tei._equal_result_type,
603-
tei._equal,
602+
ti._equal_result_type,
603+
ti._equal,
604604
_EQUAL_DOCSTRING,
605605
)
606606

@@ -667,8 +667,8 @@ def array_equiv(a1, a2):
667667

668668
greater = DPNPBinaryFunc(
669669
"greater",
670-
tei._greater_result_type,
671-
tei._greater,
670+
ti._greater_result_type,
671+
ti._greater,
672672
_GREATER_DOCSTRING,
673673
)
674674

@@ -736,8 +736,8 @@ def array_equiv(a1, a2):
736736

737737
greater_equal = DPNPBinaryFunc(
738738
"greater",
739-
tei._greater_equal_result_type,
740-
tei._greater_equal,
739+
ti._greater_equal_result_type,
740+
ti._greater_equal,
741741
_GREATER_EQUAL_DOCSTRING,
742742
)
743743

@@ -1002,8 +1002,8 @@ def iscomplexobj(x):
10021002

10031003
isfinite = DPNPUnaryFunc(
10041004
"isfinite",
1005-
tei._isfinite_result_type,
1006-
tei._isfinite,
1005+
ti._isfinite_result_type,
1006+
ti._isfinite,
10071007
_ISFINITE_DOCSTRING,
10081008
)
10091009

@@ -1126,8 +1126,8 @@ def isfortran(a):
11261126

11271127
isinf = DPNPUnaryFunc(
11281128
"isinf",
1129-
tei._isinf_result_type,
1130-
tei._isinf,
1129+
ti._isinf_result_type,
1130+
ti._isinf,
11311131
_ISINF_DOCSTRING,
11321132
)
11331133

@@ -1179,8 +1179,8 @@ def isfortran(a):
11791179

11801180
isnan = DPNPUnaryFunc(
11811181
"isnan",
1182-
tei._isnan_result_type,
1183-
tei._isnan,
1182+
ti._isnan_result_type,
1183+
ti._isnan,
11841184
_ISNAN_DOCSTRING,
11851185
)
11861186

@@ -1508,8 +1508,8 @@ def isscalar(element):
15081508

15091509
less = DPNPBinaryFunc(
15101510
"less",
1511-
tei._less_result_type,
1512-
tei._less,
1511+
ti._less_result_type,
1512+
ti._less,
15131513
_LESS_DOCSTRING,
15141514
)
15151515

@@ -1576,8 +1576,8 @@ def isscalar(element):
15761576

15771577
less_equal = DPNPBinaryFunc(
15781578
"less_equal",
1579-
tei._less_equal_result_type,
1580-
tei._less_equal,
1579+
ti._less_equal_result_type,
1580+
ti._less_equal,
15811581
_LESS_EQUAL_DOCSTRING,
15821582
)
15831583

@@ -1647,8 +1647,8 @@ def isscalar(element):
16471647

16481648
logical_and = DPNPBinaryFunc(
16491649
"logical_and",
1650-
tei._logical_and_result_type,
1651-
tei._logical_and,
1650+
ti._logical_and_result_type,
1651+
ti._logical_and,
16521652
_LOGICAL_AND_DOCSTRING,
16531653
)
16541654

@@ -1700,8 +1700,8 @@ def isscalar(element):
17001700

17011701
logical_not = DPNPUnaryFunc(
17021702
"logical_not",
1703-
tei._logical_not_result_type,
1704-
tei._logical_not,
1703+
ti._logical_not_result_type,
1704+
ti._logical_not,
17051705
_LOGICAL_NOT_DOCSTRING,
17061706
)
17071707

@@ -1771,8 +1771,8 @@ def isscalar(element):
17711771

17721772
logical_or = DPNPBinaryFunc(
17731773
"logical_or",
1774-
tei._logical_or_result_type,
1775-
tei._logical_or,
1774+
ti._logical_or_result_type,
1775+
ti._logical_or,
17761776
_LOGICAL_OR_DOCSTRING,
17771777
)
17781778

@@ -1840,8 +1840,8 @@ def isscalar(element):
18401840

18411841
logical_xor = DPNPBinaryFunc(
18421842
"logical_xor",
1843-
tei._logical_xor_result_type,
1844-
tei._logical_xor,
1843+
ti._logical_xor_result_type,
1844+
ti._logical_xor,
18451845
_LOGICAL_XOR_DOCSTRING,
18461846
)
18471847

@@ -1908,7 +1908,7 @@ def isscalar(element):
19081908

19091909
not_equal = DPNPBinaryFunc(
19101910
"not_equal",
1911-
tei._not_equal_result_type,
1912-
tei._not_equal,
1911+
ti._not_equal_result_type,
1912+
ti._not_equal,
19131913
_NOT_EQUAL_DOCSTRING,
19141914
)

0 commit comments

Comments
 (0)