We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3fc5b commit 7086cdfCopy full SHA for 7086cdf
src/array_api_stubs/_draft/info.py
@@ -80,7 +80,9 @@ def default_device() -> device:
80
Returns
81
-------
82
out: device
83
- an object corresponding to the default device.
+ an object corresponding to the default device or ``None``.
84
+ A conforming array library may return ``None`` if the default device is not
85
+ predictable due to library specific device placement rules.
86
87
Notes
88
-----
0 commit comments