Closed Bug 1902792 Opened 5 months ago Closed 5 months ago

[wpt-sync] Sync PR 46770 - webnn: Give an MLBuffer an MLOperandDescriptor

Categories

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

task

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Austin Sullivan <asully@chromium.org> wrote:

webnn: Give an MLBuffer an MLOperandDescriptor

This CL gives MLBufferDescriptor an MLOperandDescriptor as per
https://github.com/webmachinelearning/webnn/issues/542

To represent this descriptor, this CL also creates a new typemapped
OperandDescriptor type which ensures that the buffer descriptor is
valid. OperandDescriptor will be used more pervasively within WebNN
in follow-up CLs

  1. Move Operand::DataType to DataType (MERGED)
  2. Create a typemapped OperandDescriptor class for MLBuffer \<-- this CL
  3. Use OperandDescriptor in mojom::Operand
    4+) Remove duplicate code (especially with //components)

Bug: 343638938, 325598628
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Change-Id: I775340f5c5e0e80942332cbae750d0d305cdd458
Reviewed-on: https://chromium-review.googlesource.com/5604163
WPT-Export-Revision: 5b91e0fed75b43239f290b80be80971306df967f

Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 298 tests and 11 subtests ## Status Summary ### Firefox `OK` : 292 `PASS` : 208 `FAIL` : 1000 `ERROR` : 6 ### Chrome `OK` : 286 `PASS` : 914 `FAIL` : 5922 `ERROR` : 12 `NOTRUN`: 162 ### Safari `OK` : 292 `PASS` : 208 `FAIL` : 1000 `ERROR` : 6 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=4dd35360f37439b9559de04963c0542a77a19461) [GitHub PR Head](https://wpt.fyi/results/?sha=c0fde9fd7ec01131435449ea5a8560d43d39a06f&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=c0fde9fd7ec01131435449ea5a8560d43d39a06f&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf44e8d277c8 [wpt PR 46770] - webnn: Give an MLBuffer an MLOperandDescriptor, a=testonly
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: