Path: blob/main/crates/wasi-nn/examples/classification-component-onnx/README.md
1692 views
Onnx Backend Classification Component Example
This example demonstrates how to use the wasi-nn
crate to run a classification using the ONNX Runtime backend from a WebAssembly component.
Build
In this directory, run the following command to build the WebAssembly component:
In the Wasmtime root directory, run the following command to build the Wasmtime CLI and run the WebAssembly component:
You should get the following output: