W3C Launched the Web Machine Learning Working Group in April 2021, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill. You can also get latest updates for the Web Neural Network API and other relevant projects in github.com/webmachinelearning.
A polyfill for Web Neural Network (WebNN) API with computer vision and natural language processing examples.
The Web Neural Network (WebNN) API is a dedicated low-level API for neural network inference hardware acceleration. It is worked on in the W3C Machine Learning for the Web Community Group.
MacOS | Linux | Windows |
---|---|---|
If you are interested, please refer to WebNN Chromium build repo and WIKI:
$ npm install
$ npm start
# Start an HTTPS server
$ HTTPS=true npm start
$ npm run build
# Production build
$ NODE_ENV=production npm run build
# WASM backend build:
$ npm run build-wasm
$ npm start
Open browser and navigate to http://localhost:8080/test
$ npm run watch
This project is following Apache License Version 2.0.
Documents in test/wpt/resources are licensed by the W3C 3-clause BSD License.