Closed
Description
Should array-api-compat
"update" the namespace for existing Array API arrays to the most recent spec? For example:
# Assume that `xp.take` is not implemented in the installed CuPy version
import cupy.array_api as xp
import array_api_compat
X = xp.asarray([1.0, 2.0])
xp = array_api_compat.get_namespace(X)
# Should this always be true?
assert hasattr(xp, "take")
Metadata
Metadata
Assignees
Labels
No labels