Add WebNN-native binding for Node.js to expose WebNN JavaScript API#11
Add WebNN-native binding for Node.js to expose WebNN JavaScript API#11huningxin merged 4 commits intowebmachinelearning:mainfrom
Conversation
|
Thanks much @fujunwei! Current webnn-polyfill@5c5e9f6 has 615 test cases (614 passing / 1 pending by WebNN Polyfill API):
Following node/README.md, I verified this PR:
Let's look at pass status of running Ops tests and Model tests:
Above '14 passing 1 pending' of running Model tests are same as test result by WebNN polyfill API.
Test logs: |
03c6f68 to
dbede5b
Compare
|
@huningxin Done, thanks. |
huningxin
left a comment
There was a problem hiding this comment.
Thanks for updating the PR. It looks good to me.
|
Based on the feedback from WebML WG Teleconference – 24 June 2021, both the webnn-polyfill tests and webnn-native implementation on native ML APIs are useful to inform the spec development. This PR specifically enables running the webnn-polyfill tests on native ML API implementation. With that, I am going to merge this PR and unlock the development of other features, like new API change and ops. |
webnn-polyfill has 600 test cases to test APIs, ops and models. To avoid porting of these tests to C++, it would be useful to run these JS tests with node.js. The WebNN-native binding is to bind WebNN-native C++ API with addon.
This PR depends on #10.