Files
mlx-swift-examples/Libraries/MNIST/README.md
Awni Hannun 4ed4ec69e7 LeNet on MNIST + readme update (#12)
* LeNet on MNIST + readme update

* tanh + remove device toggle

* remove device entirely
2024-03-04 14:16:20 -08:00

465 B

MNIST

This is a port of the MNIST training code from the Python MLX example. This example uses a LeNet instead of an MLP.

It provides code to:

  • Download the MNIST test/train data
  • Build the LeNet
  • Some functions to shuffle and batch the data

See mnist-tool for an example of how to run this. The training loop also lives there.