bytecodealliance / wasi-nn

High-level bindings for wasi-nn system calls
Apache License 2.0
45 stars 35 forks source link

Updated demo that converts images to tensors #48

Closed brianjjones closed 3 years ago

brianjjones commented 3 years ago

Demo now uses the crate 'image' to open and convert images into tensors at runtime, instead of requiring they be converted before the app is run. This is the first step to creating a stand alone library that can be used by any app that imports wasi-nn.