We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dffdc0 commit 5932e2fCopy full SHA for 5932e2f
dpctl/tensor/_array_api.py
@@ -46,7 +46,7 @@ def _isdtype_impl(dtype, kind):
46
elif isinstance(kind, tuple):
47
return any(_isdtype_impl(dtype, k) for k in kind)
48
else:
49
- raise TypeError(f"Unsupported data type kind: {kind}")
+ raise TypeError(f"Unsupported type for dtype kind: {type(kind)}")
50
51
52
def _get_device_impl(d):
0 commit comments