load_data

load_data(path: str = 'mnist', save: bool = False) → Tuple

Downloads and returns mnist data.

Parameters
  • path (str, optional) – path where you want to save downloaded data, defaults to ‘mnist’

  • save (bool, optional) – true if you want to save the data, false otherwise, defualts to False

Returns

training_images, training_labels, test_images, test_labels

Return type

Tuple