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
According to the standard, iinfo and finfo are supposed to accept an array (not just a type) for the first argument, but:
importarray_api_strictasxpxp.finfo(xp.asarray([1.])) # ValueError: data type <class 'numpy.object_'> not inexactxp.iinfo(xp.asarray([1])) # ValueError: Invalid integer data type 'O'.xp.__version__# 2.2