webmachinelearning / webnn

🧠 Web Neural Network API
https://www.w3.org/TR/webnn/
Other
354 stars 45 forks source link

[Explainer] explain the workflow from authoring tools to webnn #74

Open huningxin opened 4 years ago

huningxin commented 4 years ago

The developers usually use some kinds of machine learning authoring tools, such as TensorFlow, PyTorch and others, to create and train the models. It would be helpful that the explainer could explain the workflow that how the developers can deploy and infer the trained models by webnn in web browsers. This would cover:

  1. Model conversion/adaption
  2. Handling of missing ops/data types
  3. The efficiency of the model inference

This might not a complete list. Please feel free to add anything I missed.

anssiko commented 3 years ago

This type of authoring workflow doc would be very helpful. I propose such a doc lives in its own .md file with a link from the WebNN API explainer.

This way, both the docs can focus on catering to their primary audiences, with the authoring workflow doc providing more practical guidance to web developers.