Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webnn: Give an MLBuffer an MLOperandDescriptor
This CL gives MLBufferDescriptor an MLOperandDescriptor as per webmachinelearning/webnn#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
- Loading branch information