github web-platform-tests/wpt merge_pr_46217

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

Reland "webnn: Enforce input data type constraints for gather indices"

This is a reland of commit ef29e11bfb1f1f4eae0935fb58f0e4129620837b

The failure of services_unittests/WebNNGraphImplBackendTest.
BuildAndComputeSingleOperatorGather has been fixed by another CL: https://chromium-review.googlesource.com/c/chromium/src/+/5544945.

This CL adds int32 dataType support check besides uint32 and int64 for
gather indices compared with original CL.

Original change's description:

webnn: Enforce input data type constraints for gather indices

As specified in webmachinelearning/webnn#646

Bug: 328567884
Change-Id: I33eba7e1def430b1cb94e3e7a4868e82c5bbd9a3
Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,mac14.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5520313
Reviewed-by: Austin Sullivan asully@chromium.org
Commit-Queue: Lisha Guo lisha.guo@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Cr-Commit-Position: refs/heads/main@{#1298443}

Bug: 328567884
Change-Id: Ide6a0e1bc6d3ebea7dce6bf37da4318e7b6e1bd1
Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,mac14.arm64-blink-rel,gpu-fyi-try-win11-qualcomm-rel-64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5532907
Reviewed-by: ningxin hu ningxin.hu@intel.com
Commit-Queue: Lisha Guo lisha.guo@intel.com
Reviewed-by: Austin Sullivan asully@chromium.org
Cr-Commit-Position: refs/heads/main@{#1304870}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.