WebNN: Implement scatterElements
operator in DirectML backend
The scatterElements
operator is proposed by WebML WG 1 for
supporting popular transformer-based models.
This CL adds the IDL and mojo definitions of scatterElements, and
implements it in the DirectML backend by mapping to
DML_OPERATOR_SCATTER
2.
This CL also adds the scatterElements
validation and conformance tests
into WPT.
Bug: 370536101,370538328
Change-Id: Ifb73bed5eb05cb919b106b4aaea5127ec099edb2
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/+/5921136
Reviewed-by: Alex Gough ajgo@chromium.org
Reviewed-by: Weizhong Xia weizhong@google.com
Auto-Submit: ningxin hu ningxin.hu@intel.com
Commit-Queue: ningxin hu ningxin.hu@intel.com
Commit-Queue: Weizhong Xia weizhong@google.com
Reviewed-by: Rafael Cintron rafael.cintron@microsoft.com
Reviewed-by: Austin Sullivan asully@chromium.org
Cr-Commit-Position: refs/heads/main@{#1368312}