Closed Bug 2046224 Opened 2 days ago Closed 22 hours ago

[wpt-sync] Sync PR 60497 - webnn: emulate rank-5 pow's input tensors in TFLite backend

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox153 fixed)

RESOLVED FIXED
153 Branch
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

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7c84c303706a https://hg.mozilla.org/integration/autoland/rev/abf3d96ad534 [wpt PR 60497] - webnn: emulate rank-5 pow's input tensors in TFLite backend, a=testonly
Status: NEW → RESOLVED
Closed: 22 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.