We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab4d3b commit e0d249fCopy full SHA for e0d249f
1 file changed
dpctl/tensor/_usmarray.pyx
@@ -1592,7 +1592,7 @@ cdef class usm_ndarray:
1592
# the change of a dpctl dtype to a NumPy dtype therefore
1593
# not violating the NumPy standard for the __array__
1594
# method.
1595
-
+
1596
if self.size == 0:
1597
# no data needs to be copied for zero sized array
1598
return np.ndarray(self.shape, dtype=self.dtype)
0 commit comments