Draw a digit.

WebGPU trains a 196→128→10 network on all ten MNIST classes. Draw any number from zero to nine; your strokes are normalized to the same 14×14 representation the network learned.

loading MNIST
Draw here

Use your mouse, trackpad, or finger.

?
Network prediction

Training the classifier…

The drawing pad unlocks as soon as training finishes.

This tiny image is the exact 196-value input sent to WebGPU.
Epoch0 / 30
Train accuracy
Test accuracy
Train time
196 → 128 → 10

Preparing handwritten examples…