Skip to content

Commit bce5cb9

Browse files
author
array-api-bot
committed
Deploy: a4c30eb
1 parent 6bbeccb commit bce5cb9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

draft/API_specification/generated/array_api.info.default_device.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,13 @@ <h1 id="api-specification-generated-array-api-info-default-device--page-root">de
475475
<dd><p>Returns the default device.</p>
476476
<dl class="field-list simple">
477477
<dt class="field-odd">Returns<span class="colon">:</span></dt>
478-
<dd class="field-odd"><p><strong>out</strong> (<em>device</em>) – an object corresponding to the default device.</p>
478+
<dd class="field-odd"><p><strong>out</strong> (<em>device</em>) – an object (including <code class="docutils literal notranslate"><span class="pre">None</span></code>) corresponding to the default device.</p>
479479
</dd>
480480
</dl>
481481
<p class="rubric">Notes</p>
482+
<ul class="simple">
483+
<li><p>A conforming array library may return <code class="docutils literal notranslate"><span class="pre">None</span></code> if the default device is not predictable due to library specific device placement rules.</p></li>
484+
</ul>
482485
</dd></dl>
483486
</section>
484487

draft/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)