TorchMnistDataset#
- class TorchMnistDataset[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
Return the path to the raw data folder. |
|
Methods
Download the MNIST data if it doesn't exist already. |
|