Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 595 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 595 Bytes

Model

Model for mnist-wasm

Design

Layers

  • 128 relu
  • 10 logsoftmax

I kept the model super simple, because I want it to run fast in the browser. I also use logsoftmax because I was afraid that I was going to have overflow issues. It also gave me much better results when prototyping in python.

Everything is implemented in scratch with rust. The only significant library used is ndarray to make matrix calculations a bit easier

Build instructions

cargo build should do it

It is also built during the building of the site or the api.