From ff1a93959437bbd416374579e00a4d6db9fa4b7a Mon Sep 17 00:00:00 2001 From: Belem Zhang Date: Wed, 13 Nov 2024 14:00:59 +0800 Subject: [PATCH 1/2] November update for Impl Status --- assets/json/webnn_status.json | 148 +++++++++++++++++----------------- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/assets/json/webnn_status.json b/assets/json/webnn_status.json index 1648525..772f718 100644 --- a/assets/json/webnn_status.json +++ b/assets/json/webnn_status.json @@ -260,8 +260,8 @@ "fw_tflite_progress": 2, "fw_tflite_version_added": "", "fw_ort_op": ["CumSum"], - "fw_ort_progress": 3, - "fw_ort_version_added": "1.20.0-dev", + "fw_ort_progress": 4, + "fw_ort_version_added": "1.21.0-dev", "notes": "" }, { @@ -271,18 +271,18 @@ "wpt": "dequantizeLinear", "wpt_progress": 4, "tflite_op": [ - "" + "QUANTIZE" ], - "tflite_progress": 2, - "tflite_chromium_version_added": "", + "tflite_progress": 4, + "tflite_chromium_version_added": "M132", "dml_op": [ "ELEMENT_WISE_DEQUANTIZE_LINEAR" ], "dml_progress": 4, "dml_chromium_version_added": "M132", - "coreml_op": ["dequantize"], - "coreml_progress": 4, - "coreml_chromium_version_added": "M132", + "coreml_op": ["dequantize_linear"], + "coreml_progress": 3, + "coreml_chromium_version_added": "M133", "fw_tflite_op": [""], "fw_tflite_progress": 2, "fw_tflite_version_added": "", @@ -665,7 +665,7 @@ "tflite_op": [ "LOGICAL_AND" ], - "tflite_progress": 3, + "tflite_progress": 4, "tflite_chromium_version_added": "M132", "dml_op": [ "ELEMENT_WISE_LOGICAL_AND" @@ -681,8 +681,8 @@ "fw_ort_op": [ "And" ], - "fw_ort_progress": 3, - "fw_ort_version_added": "1.20.0-dev", + "fw_ort_progress": 4, + "fw_ort_version_added": "1.21.0-dev", "notes": "" }, { @@ -694,7 +694,7 @@ "tflite_op": [ "LOGICAL_OR" ], - "tflite_progress": 3, + "tflite_progress": 4, "tflite_chromium_version_added": "M132", "dml_op": [ "ELEMENT_WISE_LOGICAL_OR" @@ -710,8 +710,8 @@ "fw_ort_op": [ "Or" ], - "fw_ort_progress": 3, - "fw_ort_version_added": "1.20.0-dev", + "fw_ort_progress": 4, + "fw_ort_version_added": "1.21.0-dev", "notes": "" }, { @@ -721,9 +721,9 @@ "wpt": "logical_xor", "wpt_progress": 4, "tflite_op": [ - "" + "NOT_EQUAL" ], - "tflite_progress": 3, + "tflite_progress": 4, "tflite_chromium_version_added": "M132", "dml_op": [ "ELEMENT_WISE_LOGICAL_XOR" @@ -739,8 +739,8 @@ "fw_ort_op": [ "Xor" ], - "fw_ort_progress": 3, - "fw_ort_version_added": "1.20.0-dev", + "fw_ort_progress": 4, + "fw_ort_version_added": "1.21.0-dev", "notes": "" }, { @@ -1247,10 +1247,10 @@ "wpt": "gatherElements", "wpt_progress": 4, "tflite_op": [ - "" + "Emulated with GATHER_ND" ], - "tflite_progress": 2, - "tflite_chromium_version_added": "", + "tflite_progress": 3, + "tflite_chromium_version_added": "M133", "dml_op": [ "GATHER_ELEMENTS" ], @@ -1370,9 +1370,9 @@ ], "dml_progress": 4, "dml_chromium_version_added": "M125", - "coreml_op": [""], - "coreml_progress": 2, - "coreml_chromium_version_added": "", + "coreml_op": ["gru"], + "coreml_progress": 3, + "coreml_chromium_version_added": "M133", "fw_tflite_op": [""], "fw_tflite_progress": 2, "fw_tflite_version_added": "", @@ -1397,9 +1397,9 @@ ], "dml_progress": 4, "dml_chromium_version_added": "M125", - "coreml_op": [""], - "coreml_progress": 2, - "coreml_chromium_version_added": "", + "coreml_op": ["gru"], + "coreml_progress": 3, + "coreml_chromium_version_added": "M133", "fw_tflite_op": [""], "fw_tflite_progress": 2, "fw_tflite_version_added": "", @@ -1584,35 +1584,6 @@ "fw_ort_version_added": "1.18.0", "notes": "" }, - { - "op": "❔localResponseNormalization", - "op_id": "localresponsenormalization", - "version": "", - "wpt": "localResponseNormalization", - "wpt_progress": 3, - "tflite_op": [ - "" - ], - "tflite_progress": 2, - "tflite_chromium_version_added": "", - "dml_op": [ - "LOCAL_RESPONSE_NORMALIZATION" - ], - "dml_progress": 2, - "dml_chromium_version_added": "", - "coreml_op": [""], - "coreml_progress": 2, - "coreml_chromium_version_added": "", - "fw_tflite_op": [""], - "fw_tflite_progress": 2, - "fw_tflite_version_added": "", - "fw_ort_op": [ - "" - ], - "fw_ort_progress": 2, - "fw_ort_version_added": "", - "notes": "" - }, { "op": "lstm", "op_id": "lstm", @@ -1767,7 +1738,7 @@ "wpt": "pooling", "wpt_progress": 4, "tflite_op": [""], - "tflite_progress": 3, + "tflite_progress": 2, "tflite_chromium_version_added": "", "dml_op": [ "LP_POOLING" @@ -1837,8 +1808,8 @@ "dml_progress": 4, "dml_chromium_version_added": "M120", "coreml_op": ["prelu"], - "coreml_progress": 4, - "coreml_chromium_version_added": "M126", + "coreml_progress": 3, + "coreml_chromium_version_added": "", "fw_tflite_op": [ "Prelu" ], @@ -1858,18 +1829,18 @@ "wpt": "quantizeLinear", "wpt_progress": 4, "tflite_op": [ - "" + "QUANTIZE" ], - "tflite_progress": 2, - "tflite_chromium_version_added": "", + "tflite_progress": 4, + "tflite_chromium_version_added": "M132", "dml_op": [ "ELEMENT_WISE_QUANTIZE_LINEAR" ], "dml_progress": 4, "dml_chromium_version_added": "M132", - "coreml_op": ["dequantize"], - "coreml_progress": 4, - "coreml_chromium_version_added": "M132", + "coreml_op": ["quantize_linear"], + "coreml_progress": 3, + "coreml_chromium_version_added": "M133", "fw_tflite_op": [""], "fw_tflite_progress": 2, "fw_tflite_version_added": "", @@ -2258,16 +2229,45 @@ "notes": "" }, { - "op": "scatterElements", - "op_id": "scatterelements", + "op": "reverse", + "op_id": "reverse", "version": "", - "wpt": "gatherElements", - "wpt_progress": 4, + "wpt": "reverse", + "wpt_progress": 3, "tflite_op": [ "" ], "tflite_progress": 2, "tflite_chromium_version_added": "", + "dml_op": [ + "SLICE1" + ], + "dml_progress": 3, + "dml_chromium_version_added": "M133", + "coreml_op": [""], + "coreml_progress": 2, + "coreml_chromium_version_added": "", + "fw_tflite_op": [ + "" + ], + "fw_tflite_progress": 2, + "fw_tflite_version_added": "", + "fw_ort_op": ["Slice"], + "fw_ort_progress": 3, + "fw_ort_version_added": "1.21.0-dev", + "notes": "" + }, + { + "op": "scatterElements", + "op_id": "scatterelements", + "version": "", + "wpt": "scatterElements", + "wpt_progress": 4, + "tflite_op": [ + "Emulated with SCATTER_ND and WHERE" + ], + "tflite_progress": 3, + "tflite_chromium_version_added": "M133", "dml_op": [ "SCATTER_ELEMENTS" ], @@ -2293,10 +2293,10 @@ "wpt": "scatterND", "wpt_progress": 4, "tflite_op": [ - "" + "SCATTER_ND" ], - "tflite_progress": 2, - "tflite_chromium_version_added": "", + "tflite_progress": 4, + "tflite_chromium_version_added": "M132", "dml_op": [ "SCATTER_ND" ], @@ -2371,8 +2371,8 @@ "fw_ort_op": [ "Sign" ], - "fw_ort_progress": 3, - "fw_ort_version_added": "1.20.0-dev", + "fw_ort_progress": 4, + "fw_ort_version_added": "1.21.0-dev", "notes": "" }, { From 7bc522d715181f61024a4a129a706bfd1fb46ccd Mon Sep 17 00:00:00 2001 From: Belem Zhang Date: Wed, 13 Nov 2024 15:37:41 +0800 Subject: [PATCH 2/2] Update TFLite to LiteRT --- webnn-status.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/webnn-status.md b/webnn-status.md index bc10e87..d9bfb41 100644 --- a/webnn-status.md +++ b/webnn-status.md @@ -175,7 +175,7 @@ sup { - TensorFlow Lite + LiteRT 1 @@ -249,7 +249,7 @@ sup {
-
TensorFlow Lite
+
LiteRT
DirectML
Core ML
@@ -313,13 +313,13 @@ sup { -
Execution Provider +
Execution Provider 7 - - Lite for TF.js
External Delegate + LiteRT +
External Delegate 8 @@ -339,7 +339,7 @@ sup {
ONNX Runtime Web
Execution Provider
-
TensorFlow.js/TFLite
External Delegate
+
LiteRT
External Delegate
✅ Supported ()
⏳ Partly Implemented ()
@@ -358,14 +358,14 @@ sup { 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.
-[1] [TensorFlow Lite Builtin Options](https://source.chromium.org/chromium/chromium/src/+/main:services/webnn/tflite/op_resolver.cc)
+[1] [LiteRT Builtin Options](https://source.chromium.org/chromium/chromium/src/+/main:services/webnn/tflite/op_resolver.cc)
[2] [DirectML](https://learn.microsoft.com/en-us/windows/win32/api/_directml/) API
[3] [Core ML](https://apple.github.io/coremltools/source/coremltools.converters.mil.mil.ops.defs.html) operators
[4] This feature is experimental. Can be enabled by setting `#web-machine-learning-neural-network` flag to `Enabled`.
[5] 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.
[6] This feature is experimental. Can be enabled by setting `#web-machine-learning-neural-network` flag to `Enabled`.
[7] 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)
-[8] TensorFlow Lite built-in operators [`kTfLiteBuiltin*`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.cc) +[8] LiteRT built-in operators [`kTfLiteBuiltin*`](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/xnnpack/xnnpack_delegate.cc) 🏅🏅🏅 Interested in contributing to this implementation status page? See contributing guidelines.