webnn: add int4 and uint4 support for quantizeLinear and dequantizeLinear
This CL also adds some WPT conformance tests to verify the
implementation.
Bug: 40206287
Change-Id: Ieb8ce3ae2182388ae7cc98cd1fc8e3d2dcd9c7d2
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5861613
Commit-Queue: Lisha Guo lisha.guo@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Reviewed-by: Alex Gough ajgo@chromium.org
Reviewed-by: Rafael Cintron rafael.cintron@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1365343}