bytecodealliance / wasi-nn

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

Wrap Rust bindings in higher-level API #32

Open abrown opened 3 years ago

abrown commented 3 years ago

As I was working on https://github.com/bytecodealliance/wasmtime/pull/2831, I realized that the wasi-nn Rust bindings are still relatively low level: the example is still forced to use unsafe and jump through memory hoops to retrieve the output tensor.