cifar10
load_data
¶
Load and return the CIFAR10 dataset.
Please consider using the ciFAIR10 dataset instead. CIFAR10 contains duplicates between its train and test sets.
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) |