WebNN: Add IDL and mojo definitions for scatterND
operator
The scatterND
operator is proposed by WebML WG 1 for improving
performance of passing partial MLBuffer/MLTensor between transformers
decoder iterations for key-value reuse.
This CL also implements data type limits, inputs validation and adds
validation tests for scatterND
operator.
Bug: 363677531
Change-Id: Ib68db63c7b51b99f9976b1eb3c06f8b7f0de9f97
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/+/5829103
Reviewed-by: Alex Gough ajgo@chromium.org
Reviewed-by: Weizhong Xia weizhong@google.com
Reviewed-by: Reilly Grant reillyg@chromium.org
Commit-Queue: ningxin hu ningxin.hu@intel.com
Cr-Commit-Position: refs/heads/main@{#1353781}