github web-platform-tests/wpt merge_pr_48924

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
2 months ago

webnn: Support quantize and dequantize in tflite converter

Implement WebNN quantize operation with TFLite QUANTIZE builtin
operator, only scalar zero point and scale can be supported at
current stage.

The dequantize operation is implemented with TFLite DEQUANTIZE
builtin operator, and emulate the unsupported case with the expression
output = (input - zeroPoint) * scale.

Bug: 40206287
Change-Id: Ifea831b0fdb95dd33147310175c8c089ee0a341a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5967060
Reviewed-by: Reilly Grant reillyg@chromium.org
Reviewed-by: ningxin hu ningxin.hu@intel.com
Commit-Queue: Junwei Fu junwei.fu@intel.com
Cr-Commit-Position: refs/heads/main@{#1376810}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.