Skip to main content

Module dataset

Module dataset 

Source
Expand description

MNIST parquet dataset reading. Reader for HuggingFace MNIST parquet files.

Schema (from ylecun/mnist):

  • image: struct<bytes: binary, path: utf8> — PNG-encoded 28×28 grayscale
  • label: int64 — class 0-9

Structs§

MnistBatch
A loaded batch of MNIST samples.
MnistDataset
Reads MNIST samples from a HuggingFace parquet file.