method
The devices supported by NumPy.
For NumPy, this always returns ['cpu'].
The devices supported by NumPy.
See also
>>> info = np.__array_namespace_info__() >>> info.devices() ['cpu']
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.__array_namespace_info__.devices.html