wasi-nn

WASI-NN for standalone WASM applications


Keywords
wasi, wasi-nn, as
License
Apache-2.0
Install
npm install wasi-nn@0.1.0

Documentation

wasi-nn

A Bytecode Alliance project

WASI-NN for standalone WASM applications

CI status

Introduction


The purpose of this project is to provide WASI-NN bindings for Rust and AssemblyScript. The compiled WASM code can then be run by a runtime that supports wasi-nn, such as wasmtime.

NOTE: These bindings are experimental (use at your own risk) and subject to upstream changes in the wasi-nn specification.

Use


Rust README

AssemblyScript README

Examples


Image classification:

Rust

AssemblyScript

To build and run the image classification example use ./build.sh rust for the Rust version or ./build.sh as for AssemblyScript

Related Links


WASI

Neural Network proposal for WASI

Wasmtime

AssemblyScript