- Install webdnn package in your project
npm install webdnn --save
It will install
webdnn package in the
var webdnn = require('webdnn'); var runner = await webdnn.load('graph_descriptor');//do some stuff
You can use the package by using
Complete working example is here: https://github.com/milhidaka/webdnn-exercise/tree/master/webpack
- The npm package only contains code to run on web browsers. To convert your DNN model, you have to install python package separately.
- TypeScript type definition file is included (as it is implemented with TypeScript).