-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebNN: Define mojo and IDL for constant (fillSequence) operator
According to the WebNN spec[1], this CL defines mojo and extends the IDL definition of constant MLOperand which can be created with the specified data type and shape that contains the data as specified by the range. Some related WPT tests and services unit tests are also added. Since "bigint" currently has extremely limited use in Chromium, binding code generation cannot yet handle unions with it[2]. We currently support all data types supported by WebNN except int64 and uint64. [1]: https://www.w3.org/TR/webnn/#api-mlgraphbuilder-constant-range [2]: whatwg/webidl#1388 Bug: 40206287, 328109810 Change-Id: Iae0212071fc3567cebeeb8abb306b1d3b81ca462
- Loading branch information
1 parent
9f53d39
commit 6110340
Showing
1 changed file
with
180 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters