mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 04:10:46 +00:00

- Moved around book from `examples` to `candle-book` proper (overlapping the book and the lib structures)
336 B
336 B
MNIST
So we now have downloaded the MNIST parquet files, let's put them in a simple struct.
{{#include ../lib.rs:book_training_3}}
The parsing of the file and putting it into single tensors requires the dataset to fit the entire memory. It is quite rudimentary, but simple enough for a small dataset like MNIST.