mnist
load_data
¶
Load and return the MNIST dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
image_key |
str
|
The key for image. |
'x'
|
label_key |
str
|
The key for label. |
'y'
|
Returns:
Type | Description |
---|---|
Tuple[NumpyDataset, NumpyDataset]
|
(train_data, eval_data) |