The example code should cause TypeError exception in dpctl:
import numpy
import dpctl.tensor as dpt
obj = dpt.empty((6,), dtype=numpy.object_)
but it failed to build the exception due to bellow error:
File dpctl/tensor/_usmarray.pyx:193, in dpctl.tensor._usmarray.usm_ndarray.__cinit__()
TypeError: can only concatenate str (not "numpy.dtype[object_]") to str
The example code should cause
TypeErrorexception in dpctl:but it failed to build the exception due to bellow error: