Skip to content

Commit c72c86f

Browse files
ibelemanssiko
authored andcommitted
Update implementation status for WebNN DirectML backend
1 parent 080c440 commit c72c86f

2 files changed

Lines changed: 36 additions & 33 deletions

File tree

assets/json/webnn_status.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"dml_op": [
4343
"ELEMENT_WISE_CLIP"
4444
],
45-
"dml_progress": 3,
46-
"dml_chromium_version_added": "Chromium fork",
45+
"dml_progress": 4,
46+
"dml_chromium_version_added": "M119",
4747
"tflite_op": [
4848
"ReluN1To1"
4949
],
@@ -101,8 +101,8 @@
101101
"dml_op": [
102102
"CONVOLUTION"
103103
],
104-
"dml_progress": 3,
105-
"dml_chromium_version_added": "Chromium fork",
104+
"dml_progress": 4,
105+
"dml_chromium_version_added": "M119",
106106
"tflite_op": [
107107
"Conv2d",
108108
"DepthwiseConv2d"
@@ -159,8 +159,8 @@
159159
"dml_op": [
160160
"ELEMENT_WISE_ADD"
161161
],
162-
"dml_progress": 3,
163-
"dml_chromium_version_added": "Chromium fork",
162+
"dml_progress": 4,
163+
"dml_chromium_version_added": "M119",
164164
"tflite_op": [
165165
"Add"
166166
],
@@ -187,8 +187,8 @@
187187
"dml_op": [
188188
"ELEMENT_WISE_SUBTRACT"
189189
],
190-
"dml_progress": 3,
191-
"dml_chromium_version_added": "Chromium fork",
190+
"dml_progress": 4,
191+
"dml_chromium_version_added": "M119",
192192
"tflite_op": [
193193
"Sub"
194194
],
@@ -215,8 +215,8 @@
215215
"dml_op": [
216216
"ELEMENT_WISE_MULTIPLY"
217217
],
218-
"dml_progress": 3,
219-
"dml_chromium_version_added": "Chromium fork",
218+
"dml_progress": 4,
219+
"dml_chromium_version_added": "M119",
220220
"tflite_op": [
221221
"Mul"
222222
],
@@ -243,8 +243,8 @@
243243
"dml_op": [
244244
"ELEMENT_WISE_DIVIDE"
245245
],
246-
"dml_progress": 3,
247-
"dml_chromium_version_added": "Chromium fork",
246+
"dml_progress": 4,
247+
"dml_chromium_version_added": "M119",
248248
"tflite_op": [
249249
"Div"
250250
],
@@ -271,8 +271,8 @@
271271
"dml_op": [
272272
"ELEMENT_WISE_MAX"
273273
],
274-
"dml_progress": 3,
275-
"dml_chromium_version_added": "Chromium fork",
274+
"dml_progress": 4,
275+
"dml_chromium_version_added": "M119",
276276
"tflite_op": [
277277
"Maximum"
278278
],
@@ -299,8 +299,8 @@
299299
"dml_op": [
300300
"ELEMENT_WISE_MIN"
301301
],
302-
"dml_progress": 3,
303-
"dml_chromium_version_added": "Chromium fork",
302+
"dml_progress": 4,
303+
"dml_chromium_version_added": "M119",
304304
"tflite_op": [
305305
"Minimum"
306306
],
@@ -328,8 +328,8 @@
328328
"dml_op": [
329329
"ELEMENT_WISE_POW"
330330
],
331-
"dml_progress": 3,
332-
"dml_chromium_version_added": "Chromium fork",
331+
"dml_progress": 4,
332+
"dml_chromium_version_added": "M119",
333333
"tflite_op": [
334334
"Sqrt",
335335
"Square"
@@ -637,8 +637,8 @@
637637
"dml_op": [
638638
"GEMM"
639639
],
640-
"dml_progress": 3,
641-
"dml_chromium_version_added": "Chromium fork",
640+
"dml_progress": 4,
641+
"dml_chromium_version_added": "M119",
642642
"tflite_op": [
643643
"FullyConnected"
644644
],
@@ -974,8 +974,8 @@
974974
"dml_op": [
975975
"AVERAGE_POOLING"
976976
],
977-
"dml_progress": 3,
978-
"dml_chromium_version_added": "Chromium fork",
977+
"dml_progress": 4,
978+
"dml_chromium_version_added": "M119",
979979
"tflite_op": [
980980
"AveragePool2d",
981981
"Mean"
@@ -1033,8 +1033,8 @@
10331033
"dml_op": [
10341034
"MAX_POOLING2"
10351035
],
1036-
"dml_progress": 3,
1037-
"dml_chromium_version_added": "Chromium fork",
1036+
"dml_progress": 4,
1037+
"dml_chromium_version_added": "M119",
10381038
"tflite_op": [
10391039
"MaxPool2d"
10401040
],
@@ -1371,8 +1371,8 @@
13711371
"dml_op": [
13721372
"ACTIVATION_RELU"
13731373
],
1374-
"dml_progress": 3,
1375-
"dml_chromium_version_added": "Chromium fork",
1374+
"dml_progress": 4,
1375+
"dml_chromium_version_added": "M119",
13761376
"tflite_op": [
13771377
"Relu"
13781378
],
@@ -1427,8 +1427,8 @@
14271427
"dml_op": [
14281428
"Supported by tensor strides"
14291429
],
1430-
"dml_progress": 3,
1431-
"dml_chromium_version_added": "Chromium fork",
1430+
"dml_progress": 4,
1431+
"dml_chromium_version_added": "M119",
14321432
"tflite_op": [
14331433
"Reshape"
14341434
],
@@ -1512,8 +1512,8 @@
15121512
"dml_op": [
15131513
"ACTIVATION_SOFTMAX"
15141514
],
1515-
"dml_progress": 3,
1516-
"dml_chromium_version_added": "Chromium fork",
1515+
"dml_progress": 4,
1516+
"dml_chromium_version_added": "M119",
15171517
"tflite_op": [
15181518
"Softmax"
15191519
],

webnn-status.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ sup {
154154
<th>
155155
<img src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/chrome-dev/chrome-dev_128x128.png" />
156156
<img
157-
src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge-canary/edge-canary_128x128.png" /> <sup>5</sup>
157+
src="https://raw.githubusercontent.com/alrra/browser-logos/main/src/edge-canary/edge-canary_128x128.png" /> <sup>6</sup>
158158
</th>
159159
<th>Operations
160160
</th>
@@ -200,13 +200,16 @@ sup {
200200
</div>
201201
</div>
202202

203-
The total number of WebNN ops is 60. This table currently lists ops that are implemented or WIP by multiple backends.
203+
The total number of WebNN ops is 60. This table currently lists ops that are implemented or WIP by multiple backends
204204

205205
<sup>[1]</sup> XNNPack node definition in [`xnn_define_*`](https://github.com/google/XNNPACK/blob/master/include/xnnpack.h)<br/>
206206
<sup>[2]</sup> [DirectML](https://learn.microsoft.com/en-us/windows/win32/api/_directml/) API<br/>
207207
<sup>[3]</sup> TensorFlow Lite built-in operators [`kTfLiteBuiltin*`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.cc)<br/>
208208
<sup>[4]</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/>
209-
<sup>[5]</sup> Currently enabled in [Google Chrome Dev](https://www.google.com/chrome/dev/) and [Microsoft Edge Canary](https://www.microsoftedgeinsider.com/en-us/download/canary) channels with #enable-experimental-web-platform-features flag.
209+
<sup>[5]</sup> Enabled in [Google Chrome](https://www.google.com/chrome/dev/) and [Microsoft Edge](https://www.microsoftedgeinsider.com/en-us/download/canary) with `#enable-experimental-web-platform-features` flag<br/>
210+
<sup>[6]</sup> Enabled in [Google Chrome](https://www.google.com/chrome/dev/) and [Microsoft Edge](https://www.microsoftedgeinsider.com/en-us/download/canary) in command line with flags on Windows 11 21H2 or higher:
211+
`"%LOCALAPPDATA%\Google\Chrome SxS\Application\chrome.exe" --enable-features=MachineLearningNeuralNetworkService --enable-experimental-web-platform-features`
212+
210213

211214
<script>
212215
const qS = (selector) => {

0 commit comments

Comments
 (0)