You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
__array_namespace_info__.dtypes raises AttributeError for device passed as a string #1978
I believe this is a mistake in the docstring, but also, I am not sure that we support the device keyword anywhere else without permitting a string. So it may make sense to support throughout the array API inspection functions.
Activity
ndgrigorian commentedon Jan 23, 2025
I believe this is a mistake in the docstring, but also, I am not sure that we support the device keyword anywhere else without permitting a string. So it may make sense to support throughout the array API inspection functions.
antonwolfy commentedon Jan 23, 2025
I believe it would also helpful to improve error handling and to raise a proper exception in case of unsupported
devicekeyword passed.