mlx-examples/mnist
2023-11-29 08:17:26 -08:00
..
jax_main.py a few examples 2023-11-29 08:17:26 -08:00
main.py a few examples 2023-11-29 08:17:26 -08:00
mnist.py a few examples 2023-11-29 08:17:26 -08:00
README.md a few examples 2023-11-29 08:17:26 -08:00
torch_main.py a few examples 2023-11-29 08:17:26 -08:00

MNIST

This example shows how to run some simple models on MNIST. The only dependency is MLX.

Run the example with:

python main.py

By default the example runs on the CPU. To run on the GPU, use:

python main.py --gpu

To run the PyTorch or Jax examples install the respective framework.