You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1374,8 +1374,15 @@ A {{MLContext}} <dfn for=MLContext lt="is lost|is not lost">is lost</dfn> if its
1374
1374
The {{MLGraph}} interface represents a compiled computational graph. A compiled graph once constructed is immutable and cannot be subsequently changed.
The <dfn attribute for=MLGraph>devices</dfn> attribute is a {{FrozenArray}} containing the list of {{MLDeviceType}}s that the {{MLGraph}} will be executed on. A graph could be executed on multiple types of devices that are one of following:
1417
+
<dl dfn-for="MLDeviceType">
1418
+
<dt>"<dfn enum-value>cpu</dfn>"</dt>
1419
+
<dd>CPU device.</dd>
1420
+
<dt>"<dfn enum-value>gpu</dfn>"</dt>
1421
+
<dd>GPU device.</dd>
1422
+
<dt>"<dfn enum-value>npu</dfn>"</dt>
1423
+
<dd>A device that's not CPU or GPU and has ML acceleration.</dd>
0 commit comments