Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebNN: Define mojo and IDL for constant (fillSequence) operator #45195

Closed
wants to merge 1 commit into from

Commits on Apr 10, 2024

  1. 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
    miaobin authored and chromium-wpt-export-bot committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    6110340 View commit details
    Browse the repository at this point in the history