|
43 | 43 |
|
44 | 44 |
|
45 | 45 | import dpctl.tensor as dpt |
46 | | -import dpctl.tensor._tensor_elementwise_impl as tei |
| 46 | +import dpctl.tensor._tensor_elementwise_impl as ti |
47 | 47 | import numpy |
48 | 48 |
|
49 | 49 | import dpnp |
@@ -599,8 +599,8 @@ def array_equiv(a1, a2): |
599 | 599 |
|
600 | 600 | equal = DPNPBinaryFunc( |
601 | 601 | "equal", |
602 | | - tei._equal_result_type, |
603 | | - tei._equal, |
| 602 | + ti._equal_result_type, |
| 603 | + ti._equal, |
604 | 604 | _EQUAL_DOCSTRING, |
605 | 605 | ) |
606 | 606 |
|
@@ -667,8 +667,8 @@ def array_equiv(a1, a2): |
667 | 667 |
|
668 | 668 | greater = DPNPBinaryFunc( |
669 | 669 | "greater", |
670 | | - tei._greater_result_type, |
671 | | - tei._greater, |
| 670 | + ti._greater_result_type, |
| 671 | + ti._greater, |
672 | 672 | _GREATER_DOCSTRING, |
673 | 673 | ) |
674 | 674 |
|
@@ -736,8 +736,8 @@ def array_equiv(a1, a2): |
736 | 736 |
|
737 | 737 | greater_equal = DPNPBinaryFunc( |
738 | 738 | "greater", |
739 | | - tei._greater_equal_result_type, |
740 | | - tei._greater_equal, |
| 739 | + ti._greater_equal_result_type, |
| 740 | + ti._greater_equal, |
741 | 741 | _GREATER_EQUAL_DOCSTRING, |
742 | 742 | ) |
743 | 743 |
|
@@ -1002,8 +1002,8 @@ def iscomplexobj(x): |
1002 | 1002 |
|
1003 | 1003 | isfinite = DPNPUnaryFunc( |
1004 | 1004 | "isfinite", |
1005 | | - tei._isfinite_result_type, |
1006 | | - tei._isfinite, |
| 1005 | + ti._isfinite_result_type, |
| 1006 | + ti._isfinite, |
1007 | 1007 | _ISFINITE_DOCSTRING, |
1008 | 1008 | ) |
1009 | 1009 |
|
@@ -1126,8 +1126,8 @@ def isfortran(a): |
1126 | 1126 |
|
1127 | 1127 | isinf = DPNPUnaryFunc( |
1128 | 1128 | "isinf", |
1129 | | - tei._isinf_result_type, |
1130 | | - tei._isinf, |
| 1129 | + ti._isinf_result_type, |
| 1130 | + ti._isinf, |
1131 | 1131 | _ISINF_DOCSTRING, |
1132 | 1132 | ) |
1133 | 1133 |
|
@@ -1179,8 +1179,8 @@ def isfortran(a): |
1179 | 1179 |
|
1180 | 1180 | isnan = DPNPUnaryFunc( |
1181 | 1181 | "isnan", |
1182 | | - tei._isnan_result_type, |
1183 | | - tei._isnan, |
| 1182 | + ti._isnan_result_type, |
| 1183 | + ti._isnan, |
1184 | 1184 | _ISNAN_DOCSTRING, |
1185 | 1185 | ) |
1186 | 1186 |
|
@@ -1508,8 +1508,8 @@ def isscalar(element): |
1508 | 1508 |
|
1509 | 1509 | less = DPNPBinaryFunc( |
1510 | 1510 | "less", |
1511 | | - tei._less_result_type, |
1512 | | - tei._less, |
| 1511 | + ti._less_result_type, |
| 1512 | + ti._less, |
1513 | 1513 | _LESS_DOCSTRING, |
1514 | 1514 | ) |
1515 | 1515 |
|
@@ -1576,8 +1576,8 @@ def isscalar(element): |
1576 | 1576 |
|
1577 | 1577 | less_equal = DPNPBinaryFunc( |
1578 | 1578 | "less_equal", |
1579 | | - tei._less_equal_result_type, |
1580 | | - tei._less_equal, |
| 1579 | + ti._less_equal_result_type, |
| 1580 | + ti._less_equal, |
1581 | 1581 | _LESS_EQUAL_DOCSTRING, |
1582 | 1582 | ) |
1583 | 1583 |
|
@@ -1647,8 +1647,8 @@ def isscalar(element): |
1647 | 1647 |
|
1648 | 1648 | logical_and = DPNPBinaryFunc( |
1649 | 1649 | "logical_and", |
1650 | | - tei._logical_and_result_type, |
1651 | | - tei._logical_and, |
| 1650 | + ti._logical_and_result_type, |
| 1651 | + ti._logical_and, |
1652 | 1652 | _LOGICAL_AND_DOCSTRING, |
1653 | 1653 | ) |
1654 | 1654 |
|
@@ -1700,8 +1700,8 @@ def isscalar(element): |
1700 | 1700 |
|
1701 | 1701 | logical_not = DPNPUnaryFunc( |
1702 | 1702 | "logical_not", |
1703 | | - tei._logical_not_result_type, |
1704 | | - tei._logical_not, |
| 1703 | + ti._logical_not_result_type, |
| 1704 | + ti._logical_not, |
1705 | 1705 | _LOGICAL_NOT_DOCSTRING, |
1706 | 1706 | ) |
1707 | 1707 |
|
@@ -1771,8 +1771,8 @@ def isscalar(element): |
1771 | 1771 |
|
1772 | 1772 | logical_or = DPNPBinaryFunc( |
1773 | 1773 | "logical_or", |
1774 | | - tei._logical_or_result_type, |
1775 | | - tei._logical_or, |
| 1774 | + ti._logical_or_result_type, |
| 1775 | + ti._logical_or, |
1776 | 1776 | _LOGICAL_OR_DOCSTRING, |
1777 | 1777 | ) |
1778 | 1778 |
|
@@ -1840,8 +1840,8 @@ def isscalar(element): |
1840 | 1840 |
|
1841 | 1841 | logical_xor = DPNPBinaryFunc( |
1842 | 1842 | "logical_xor", |
1843 | | - tei._logical_xor_result_type, |
1844 | | - tei._logical_xor, |
| 1843 | + ti._logical_xor_result_type, |
| 1844 | + ti._logical_xor, |
1845 | 1845 | _LOGICAL_XOR_DOCSTRING, |
1846 | 1846 | ) |
1847 | 1847 |
|
@@ -1908,7 +1908,7 @@ def isscalar(element): |
1908 | 1908 |
|
1909 | 1909 | not_equal = DPNPBinaryFunc( |
1910 | 1910 | "not_equal", |
1911 | | - tei._not_equal_result_type, |
1912 | | - tei._not_equal, |
| 1911 | + ti._not_equal_result_type, |
| 1912 | + ti._not_equal, |
1913 | 1913 | _NOT_EQUAL_DOCSTRING, |
1914 | 1914 | ) |
0 commit comments