The new Tensorflow Lite plugin for WASI NN in 0.12 removes built-in image host functions. The Rust examples for WASI NN now uses Rust's image crate to pre-process images. As a result, the tensorflow lite JS examples are now failing.
# wasmedge --dir .:. wasmedge_quickjs.wasm example_js/tensorflow_lite_demo/wasi_nn_main.js
ReferenceError: could not load module filename 'image'
I think we need to update the image module support using the Rust image crate as well.
The new Tensorflow Lite plugin for WASI NN in 0.12 removes built-in
image
host functions. The Rust examples for WASI NN now uses Rust'simage
crate to pre-process images. As a result, the tensorflow lite JS examples are now failing.I think we need to update the
image
module support using the Rust image crate as well.