load_mnist
Load the MNIST <http://yann.lecun.com/exdb/mnist/>_ datasets.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str | Path
|
the path were the files are stored or will be downloaded to |
required |
download
|
bool
|
whether the files should be downloaded to the given path |
True
|
Returns:
| Type | Description |
|---|---|
train_dataset, test_dataset:
|
The train and test datasets. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
if a file of the dataset cannot be found |