[wpt-sync] Sync PR 46770 - webnn: Give an MLBuffer an MLOperandDescriptor
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox129 fixed)
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
439.65 KB,
text/plain
|
Details |
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/542To 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
- Move Operand::DataType to DataType (MERGED)
- Create a typemapped OperandDescriptor class for MLBuffer \<-- this CL
- 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
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
Comment 4•5 months ago
|
||
bugherder |
Description
•