[wpt-sync] Sync PR 48268 - webnn: add IDL and mojo definition of `gatherND`
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox132 fixed)
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 48268 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/48268
Details from upstream follow.
Shiyi Zou <shiyi.zou@intel.com> wrote:
webnn: add IDL and mojo definition of
gatherND
This CL also implements validation tests in WPT and corresponding
opSupportLimits
.https://github.com/webmachinelearning/webnn/issues/375#issuecomment-2292466613
Bug: 40206287
Change-Id: Ic184f2f45a9e201f12fd072675077511bfaec797
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/+/5823074
Commit-Queue: Koji Ishii \<kojii@chromium.org>
Reviewed-by: Alex Gough \<ajgo@chromium.org>
Reviewed-by: ningxin hu \<ningxin.hu@intel.com>
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Auto-Submit: Shiyi Zou \<shiyi.zou@intel.com>
Cr-Commit-Position: refs/heads/main@{#1357776}
Assignee | ||
Comment 1•4 months ago
|
||
Assignee | ||
Comment 2•4 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 8 subtests
Status Summary
Firefox
OK
: 6
FAIL
: 48
Chrome
OK
: 6
PASS
: 18
FAIL
: 30
Safari
OK
: 6
FAIL
: 48
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webnn/validation_tests/gatherND.https.any.html?npu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Test gatherND with 5D input 3D indices:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices data type is float32:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices.shape[-1] is greater than the input rank:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/gatherND.https.any.worker.html?cpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Test gatherND with 5D input 3D indices:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices data type is float32:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices.shape[-1] is greater than the input rank:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/gatherND.https.any.html?cpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Test gatherND with 5D input 3D indices:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices data type is float32:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices.shape[-1] is greater than the input rank:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/gatherND.https.any.worker.html?gpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Test gatherND with 5D input 3D indices:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices data type is float32:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices.shape[-1] is greater than the input rank:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/gatherND.https.any.worker.html?npu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Test gatherND with 5D input 3D indices:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices data type is float32:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices.shape[-1] is greater than the input rank:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/gatherND.https.any.html?gpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Test gatherND with 5D input 3D indices:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices is a scalar:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices data type is float32:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if indices.shape[-1] is greater than the input rank:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [gatherND] Throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gatherND] Throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Tests Disabled in Gecko Infrastructure
- /webnn/validation_tests/gatherND.https.any.html?npu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/gatherND.https.any.worker.html?cpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/gatherND.https.any.html?cpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/gatherND.https.any.worker.html?gpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/gatherND.https.any.worker.html?npu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
) - /webnn/validation_tests/gatherND.https.any.html?gpu [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)
Comment 4•4 months ago
|
||
bugherder |
Description
•