Skip to content

binaryfoundry/pytorch-to-js-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch Model to JavaScript Sample

A simple example showing how to compile a PyTorch model to raw JavaScript.

Running the training script will train a model to approximate a circle, then open the .html file.

python3 train.py

Sample

About

Write a simple PyTorch model to raw JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published