# MNIST Classifier

Draw a digit and classify it with ONNX Runtime Web on WebGPU. Render the GPU-resident logits through a non-owning vgpu buffer wrap.

## Download

Download the complete verified example source:

```bash
npx vgpu examples pull mnist-classifier --out ./mnist-classifier
```

## Explore

- [Interactive example](https://vgpu.sh/examples/mnist-classifier)
- [Fullscreen preview](https://vgpu.sh/preview/mnist-classifier)
- [Complete source](https://vgpu.sh/examples/mnist-classifier/source.md)

## Included files

- `index.tsx`
- `renderer.ts`
- `ort-runtime.ts`
- `ort-webgpu.ts`
- `preprocess.ts`
- `visualize.wgsl`
