diff options
Diffstat (limited to 'numpy/_array_api/_array_object.py')
| -rw-r--r-- | numpy/_array_api/_array_object.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/numpy/_array_api/_array_object.py b/numpy/_array_api/_array_object.py index 547143a4b..0659b7b05 100644 --- a/numpy/_array_api/_array_object.py +++ b/numpy/_array_api/_array_object.py @@ -845,13 +845,7 @@ class Array: @property def device(self) -> Device: - """ - Array API compatible wrapper for :py:meth:`np.ndaray.device <numpy.ndarray.device>`. - - See its docstring for more information. - """ - # Note: device support is required for this - raise NotImplementedError("The device attribute is not yet implemented") + return 'cpu' @property def ndim(self) -> int: |
