Skip to content

Commit 361d723

Browse files
authored
Surface contributing guidelines prominently in WebNN Impl Status page (#69)
* Surface contributing guidelines prominently in WebNN Impl Status page * Improve the accessibility
1 parent 1d35646 commit 361d723

3 files changed

Lines changed: 29 additions & 30 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Currently the following feature information can be modified for WebNN XNNPACK, D
6363
* **[*]_version_added** - The Chromium or the JavaScript ML framework version where support for the feature was added
6464
* **[*]_progress**
6565
* **1** - Not Implemented / Not Supported
66-
* **2** - Work in Progress
67-
* **3** - Partial Implementation
66+
* **2** - In Planning
67+
* **3** - Work in Progress
6868
* **4** - Implemented / Supported
6969

7070
## License

assets/json/webnn_status.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@
13141314
"dml_op": [
13151315
"GRU"
13161316
],
1317-
"dml_progress": 2,
1317+
"dml_progress": 3,
13181318
"dml_chromium_version_added": "",
13191319
"mlservice_op": [
13201320
""
@@ -1347,7 +1347,7 @@
13471347
"dml_op": [
13481348
"GRU"
13491349
],
1350-
"dml_progress": 2,
1350+
"dml_progress": 3,
13511351
"dml_chromium_version_added": "",
13521352
"mlservice_op": [
13531353
""
@@ -1578,8 +1578,8 @@
15781578
"dml_op": [
15791579
"LSTM"
15801580
],
1581-
"dml_progress": 2,
1582-
"dml_chromium_version_added": "",
1581+
"dml_progress": 4,
1582+
"dml_chromium_version_added": "M125",
15831583
"mlservice_op": [
15841584
""
15851585
],
@@ -1611,7 +1611,7 @@
16111611
"dml_op": [
16121612
"LSTM"
16131613
],
1614-
"dml_progress": 2,
1614+
"dml_progress": 3,
16151615
"dml_chromium_version_added": "",
16161616
"mlservice_op": [
16171617
""
@@ -2201,8 +2201,8 @@
22012201
"op": "resample2d",
22022202
"op_id": "resample2d",
22032203
"version": "",
2204-
"wpt": "",
2205-
"wpt_progress": 3,
2204+
"wpt": "resample2d",
2205+
"wpt_progress": 4,
22062206
"xnnpack_op": [
22072207
"static_resize_bilinear_2d"
22082208
],
@@ -2548,7 +2548,7 @@
25482548
"xnnpack_progress": 2,
25492549
"xnnpack_chromium_version_added": "",
25502550
"dml_op": [
2551-
""
2551+
"Supported by combined operations"
25522552
],
25532553
"dml_progress": 3,
25542554
"dml_chromium_version_added": "",

webnn-status.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ sup {
166166
<th colspan="2"><img src="https://wpt.fyi/static/win.svg"> <img
167167
src="https://wpt.fyi/static/linux.svg"><br />XNNPack · CPU
168168
backend
169-
<sup>1</sup>
169+
<sup><a href="#note-1">1</a></sup>
170170
</th>
171-
<th colspan="2"><img src="https://wpt.fyi/static/win.svg"><br />DirectML · GPU backend <sup>2</sup>
171+
<th colspan="2"><img src="https://wpt.fyi/static/win.svg"><br />DirectML · GPU backend <sup><a href="#note-2">2</a></sup>
172172
</th>
173173
<th colspan="2">
174174
<svg id="cros"
@@ -323,7 +323,7 @@ sup {
323323
</g>
324324
</svg>
325325

326-
<br />MLService · CPU backend <sup>3</sup>
326+
<br />MLService · CPU backend <sup><a href="#note-3">3</a></sup>
327327
</th>
328328
</tr>
329329
<tr class="title">
@@ -332,17 +332,17 @@ sup {
332332
<th>
333333
<img src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome-canary/chrome-canary_128x128.png" />
334334
<img
335-
src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge-canary/edge-canary_128x128.png" /> <sup>4</sup>
335+
src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge-canary/edge-canary_128x128.png" /> <sup><a href="#note-4">4</a></sup>
336336
</th>
337337
<th>Operations</th>
338338
<th>
339339
<img src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome-canary/chrome-canary_128x128.png" />
340340
<img
341-
src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge-canary/edge-canary_128x128.png" /> <sup>5</sup>
341+
src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge-canary/edge-canary_128x128.png" /> <sup><a href="#note-5">5</a></sup>
342342
</th>
343343
<th>Operations</th>
344344
<th>
345-
<img src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome-canary/chrome-canary_128x128.png" /> <sup>6</sup>
345+
<img src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome-canary/chrome-canary_128x128.png" /> <sup><a href="#note-6">6</a></sup>
346346
</th>
347347
</tr>
348348
</thead>
@@ -415,13 +415,13 @@ sup {
415415
<tr class="title">
416416
<th colspan="2">
417417
<img src="https://onnxruntime.ai/images/svg/ONNX-Runtime-logo.svg" /><br />Execution Provider
418-
<sup>7</sup>
418+
<sup><a href="#note-7">7</a></sup>
419419
</th>
420420
<th colspan="2">
421421
<img
422422
src="https://www.gstatic.com/devrel-devsite/prod/v8ec4d0a037302c47ae529ad4e3f06c9e782b3a31a381294b5a70403547dc6b12/tensorflow/images/lockup.svg">
423423
Lite for TF.js<br />External Delegate
424-
<sup>8</sup>
424+
<sup><a href="#note-8">8</a></sup>
425425
</th>
426426
</tr>
427427
<tr class="title">
@@ -459,17 +459,16 @@ sup {
459459
The total number of WebNN ops is 78. These tables currently lists ops that are implemented or work in progress by multiple backends and JavaScript machine learning frameworks.
460460
</div>
461461

462-
<sup>[1]</sup> XNNPack node definition in [`xnn_define_*`](https://github.com/google/XNNPACK/blob/master/include/xnnpack.h)<br/>
463-
<sup>[2]</sup> [DirectML](https://learn.microsoft.com/en-us/windows/win32/api/_directml/) API<br/>
464-
<sup>[3]</sup> [MLService / TensorFlow Lite Builtin Options](https://source.chromium.org/chromium/chromium/src/+/main:third_party/tflite/src/tensorflow/lite/schema/schema_generated.h;l=1246?q=BuiltinOptions_SoftmaxOptions&ss=chromium%2Fchromium%2Fsrc)<br/>
465-
<sup>[4]</sup> Enabled in [Google Chrome](https://www.google.com/chrome/dev/) and [Microsoft Edge](https://www.microsoftedgeinsider.com/en-us/download/canary) with `#web-machine-learning-neural-network` flag<br/>
466-
<sup>[5]</sup> Enabled in [Google Chrome](https://www.google.com/chrome/canary/) and [Microsoft Edge](https://www.microsoftedgeinsider.com/en-us/download/canary) in command line with flags on Windows 11 21H2 or higher:
467-
`"%LOCALAPPDATA%\Google\Chrome SxS\Application\chrome.exe" --enable-features=WebMachineLearningNeuralNetwork`<br/>
468-
<sup>[6]</sup> Enabled in [Google Chrome](https://www.google.com/chrome/dev/) with `#web-machine-learning-neural-network` flag<br/>
469-
<sup>[7]</sup> ONNX [`Operator Schemas`](https://github.com/onnx/onnx/blob/main/docs/Operators.md) and [`WebNN EP Helper`](https://github.com/microsoft/onnxruntime/blob/main/onnxruntime/core/providers/webnn/builders/helper.h)<br/>
470-
<sup>[8]</sup> TensorFlow Lite built-in operators [`kTfLiteBuiltin*`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.cc)
471-
462+
<sup id="note-1">[1]</sup> XNNPack node definition in [`xnn_define_*`](https://github.com/google/XNNPACK/blob/master/include/xnnpack.h)<br/>
463+
<sup id="note-2">[2]</sup> [DirectML](https://learn.microsoft.com/en-us/windows/win32/api/_directml/) API<br/>
464+
<sup id="note-3">[3]</sup> [MLService / TensorFlow Lite Builtin Options](https://source.chromium.org/chromium/chromium/src/+/main:third_party/tflite/src/tensorflow/lite/schema/schema_generated.h;l=1246?q=BuiltinOptions_SoftmaxOptions&ss=chromium%2Fchromium%2Fsrc)<br/>
465+
<sup id="note-4">[4]</sup> This feature is experimental. Can be enabled by setting `#web-machine-learning-neural-network` flag to `Enabled`. Supported on CPUs on Windows.<br/>
466+
<sup id="note-5">[5]</sup> This feature is experimental. Can be enabled by setting `#web-machine-learning-neural-network` flag to `Enabled`. Supported on GPUs on Windows 11 21H2 or higher.<br/>
467+
<sup id="note-6">[6]</sup> This feature is experimental. Can be enabled by setting `#web-machine-learning-neural-network` flag to `Enabled`. Supported on CPUs on ChromeOS.<br/>
468+
<sup id="note-7">[7]</sup> ONNX [`Operator Schemas`](https://github.com/onnx/onnx/blob/main/docs/Operators.md) and [`WebNN EP Helper`](https://github.com/microsoft/onnxruntime/blob/main/onnxruntime/core/providers/webnn/builders/helper.h)<br/>
469+
<sup id="note-8">[8]</sup> TensorFlow Lite built-in operators [`kTfLiteBuiltin*`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.cc)
472470

471+
Interested in contributing to this implementation status page? See <a href="https://github.com/webmachinelearning/webmachinelearning.github.io/blob/main/CONTRIBUTING.md">contributing guidelines</a>.
473472

474473
<script>
475474
const qS = (selector) => {
@@ -803,7 +802,7 @@ sup {
803802
qS('#x_supported').innerHTML = x_s;
804803
qS('#x_partlyimplemented').innerHTML = x_pi;
805804
qS('#x_workinprogress').innerHTML = x_wip;
806-
805+
807806
let dml_s = qSA('.dml_s').length;
808807
let dml_pi = qSA('.dml_pi').length;
809808
let dml_wip = qSA('.dml_wip').length;
@@ -821,7 +820,7 @@ sup {
821820
qS('#mlservice_supported').innerHTML = mlservice_s;
822821
qS('#mlservice_partlyimplemented').innerHTML = mlservice_pi;
823822
qS('#mlservice_workinprogress').innerHTML = mlservice_wip;
824-
823+
825824
let ed_s = qSA('.ed_s').length;
826825
let ed_pi = qSA('.ed_pi').length;
827826
let ed_wip = qSA('.ed_wip').length;

0 commit comments

Comments
 (0)