Closed jcasas00 closed 2 years ago
Fixed by cornell-zhang/heterocl@776e89090d213d989b5362fc0c4261d09382597f. Test cases to be added.
Test case is added at mlir/test_api.py::test_str_fmt_asarray
with this commit: cornell-zhang/heterocl@9dd69947c615121a0887617ab9e26ae96de66f45
hcl_res = hcl.asarray(np.zeros((2,), dtype=np.uint32), dtype='uint32')
generates the following error:
This works on the main branch.