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.
2 parents 9e53230 + 4c1d7b9 commit d235910Copy full SHA for d235910
array_api_compat/common/_helpers.py
@@ -99,7 +99,7 @@ def your_function(x, y):
99
namespaces.add(torch)
100
else:
101
# TODO: Support Python scalars?
102
- raise TypeError("The input is not a supported array type")
+ raise TypeError(f"{type(x).__name__} is not a supported array type")
103
104
if not namespaces:
105
raise TypeError("Unrecognized array input")
0 commit comments