PyTorch Model to JavaScript Code Example

Had a need to approximate a function in a very minimal environment lately, so here’s an example of how to write a PyTorch model to raw JavaScript. Might expand to do GLSL at some point.

https://github.com/binaryfoundry/pytorch-to-js-example

_config.yml

Written on September 4, 2019