Open lum1n0us opened 10 months ago
@tonibofarull
I'll start working on it as soon as I have some time. I'll post a message here to let you know when I start, in case anyone else wants to pick it up first.
@lum1n0us This interface is already WIT compliant and uses resources. Are there any guidelines or directions for that part as WAMR?
NO. we don't have such guidelines yet. Or, following witx is another choice.
@ayakoakasaka I am about to synchronize wamr wasi-nn backends(@ core/iwasm/libraries/wasi-nn) to commit(https://github.com/WebAssembly/wasi-nn/commit/c0840c26066fa4dbef12d6b0f3d4762f9d6d43c7). It may need to modify several definitions in wasi_nn.h and wasi_nn_types.h. Please let me know if there is any concern.
https://github.com/bytecodealliance/wasi-nn/blob/main/rust/src/generated.rs will be my reference.
There is a recently added function,
load-by-name
, in wasi-nn.Plus, the import name of wasi-nn now is wasi_ephemeral_nn