mlx.data.datasets.load_cifar10

mlx.data.datasets.load_cifar10#

mlx.data.datasets.load_cifar10(root=None, train=True, quiet=False, validate_download=True)#

Load a buffer with the CIFAR-10 dataset.

Parameters:
  • root (Path or str, optional) – The directory to load/save the data. If none is given the ~/.cache/mlx.data/cifar is used.

  • train (bool) – Load the training or test set.