[wpt-sync] Sync PR 60497 - webnn: emulate rank-5 pow's input tensors in TFLite backend
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox153 fixed)
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60497 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60497
Details from upstream follow.
BruceDai <feng.dai@intel.com> wrote:
webnn: emulate rank-5 pow's input tensors in TFLite backend
This CL emulates rank-5 pow inputs in TFLite backend. TFLite's native
POW kernel only supports broadcasting up to rank 4. Extract the
rank-reduction logic (collapse broadcast shapes, else broadcast+flatten)
into a shared helper reused by logical binary ops, bump pow's supported
rank to 5, and add conformance tests.Change-Id: I9fdb3039d0a9cbf8e2677f9f0dceec78dd551915
Bug: 471017637
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, win11-arm64-blink-rel, mac14.arm64-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/7899814
WPT-Export-Revision: b72ae518c8b19a00a599df0f9dfbd714b19f8405
| Assignee | ||
Comment 1•2 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c96a4a2820a9ddefc27e18d69b1e01822f8f5ccd
| Assignee | ||
Comment 2•2 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 34 subtests
Status Summary
Firefox
OK : 3
FAIL: 3
Chrome
OK : 3
PASS: 57
FAIL: 42
Safari
OK : 3
FAIL: 3
Links
Details
New Tests That Don't Pass
- /webnn/conformance_tests/pow.https.any.html?cpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/pow.https.any.html?npu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/pow.https.any.html?gpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL(Safari:FAIL)
- assert_implements(navigator.ml, 'missing navigator.ml'):
Comment 4•22 hours ago
|
||
| bugherder | ||
Description
•