Closed Bug 1911015 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 47401 - webnn: fix issue in assertResultsEquals() method for conformance tests

Categories

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

task

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 47401 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/47401
Details from upstream follow.

BruceDai <feng.dai@intel.com> wrote:

webnn: fix issue in assertResultsEquals() method for conformance tests

This CL is to update assertResultsEquals() method to correctly use
descriptor.dataType to get expected dataType, and use
descriptor.dimensions to get expected dimensions, since now the
expected outputs are of Map\<String, {data: Array.\<Number>|Number, descriptor: MLOperandDescriptor}>.

And this CL also updated some relevant expected result files based on
this fixing.

Bug: 355577219
Change-Id: I8a53af8a275d68e59b7cd0f37ca6764da6aec5e4
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel,mac14.arm64-blink-rel

Reviewed-on: https://chromium-review.googlesource.com/5743754
WPT-Export-Revision: b2f56530e0b8d32914ecd5b4dac802039b8735c0

Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 448 tests and 21 subtests ## Status Summary ### Firefox `OK` : 442 `PASS` : 208 `FAIL` : 1134 `ERROR`: 6 ### Chrome `OK` : 447 `PASS` : 5996 `FAIL` : 836 `ERROR`: 1 ### Safari `OK` : 441 `PASS` : 104 `FAIL` : 792 `ERROR`: 7 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=59de1c2c2e035a8bbe262b20054ee7cee8946bff) [GitHub PR Head](https://wpt.fyi/results/?sha=7554f482eb8e5a836331a61be16331bf163423e9&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=7554f482eb8e5a836331a61be16331bf163423e9&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a553793f889a [wpt PR 47401] - webnn: fix issue in assertResultsEquals() method for conformance tests, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: