TorchMnistDataset#
- class TorchMnistDataset[source]#
MNIST Dataset.
- __init__(root: Union[str, Path], train: bool = True, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, download: bool = False) None #
- static __new__(cls, *args, **kwds)#
Attributes
Return the path to the raw data folder. |
|
Methods
Download the MNIST data if it doesn't exist already. |
|