Commit 3eb1bcf
WebNN: Ensure scale and zeroPoint rank is equal to input rank
This CL implements the WebNN spec change [1] that requires the scale
and zeroPoint for quantizeLinear and dequantizeLinear ops have the
the same rank as input.
[1]: webmachinelearning/webnn#805 (comment)
Bug: 396176047
Change-Id: Ia310e0c254ad90967b4e3577e54498fa28532f84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6773953
Commit-Queue: ningxin hu <ningxin.hu@intel.com>
Reviewed-by: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1491196}1 parent 46376d4 commit 3eb1bcf
File tree
3 files changed
+182
-168
lines changed- webnn
- conformance_tests
- validation_tests
3 files changed
+182
-168
lines changed
0 commit comments