Open targos opened 2 years ago
That's only if we are able to build a standalone wasm file. I'm not sure it's possible, because of file io methods that are called to serialize the model.
https://github.com/emscripten-core/emscripten/wiki/WebAssembly-Standalone
Node.js supports WASI for i/o
With
node --experimental-wasm-modules
, it should be possible toimport libsvm from './build.wasm'