Skip to content

Use WebAssembly for Training and Inference #3

@rainij

Description

@rainij

Currently everything is done in JavaScript. It might be good for performance if training and possibly inference too would be re-implemented in WASM.

Things to consider:

  • Do some Bench-marking to not accidentally get slower.
  • WASM implies that consumers of this library have to do something (e.g. adjust config of bundler). Give an example of how to use this Library with webpack.
  • Implementation of the training and inference algorithms could probably be done in C or C++ and then translated to WASM by emscripten. The code for the algorithms shouldn't contain many lines or be complicated. So the code can be kept within this repository.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions