Skip to content

Run webnn-polyfill JS tests via node.js binding #6

@huningxin

Description

@huningxin

There are 455 JS test cases that test APIs, ops and models for webnn-polyfill. Thanks to mocha, developers can also use npm test to run these tests by node.js, e.g. for continuous integration.

To avoid the duplicated work and porting of these tests to C++, it would be useful to run these JS tests against webnn-native. As webnn.h is a one-to-one mapping of WebNN spec, this is possible to add a node.js binding to webnn-native and expose the WebNN JS API through this binding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions