MNIST#

class MNIST[source]#

MNIST Dataset.

__init__(root: str, train: bool = True, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, download: bool = False) None#
__new__(*args, **kwargs)#

Attributes

MNIST.class_to_idx

MNIST.classes

MNIST.functions

MNIST.mirrors

MNIST.processed_folder

MNIST.raw_folder

MNIST.resources

MNIST.test_data

MNIST.test_file

MNIST.test_labels

MNIST.train_data

MNIST.train_labels

MNIST.training_file

Methods

MNIST.download()

Download the MNIST data if it doesn't exist already.

MNIST.extra_repr()

MNIST.register_datapipe_as_function(...[, ...])

MNIST.register_function(function_name, function)