tf.keras.datasets.cifar10.load_data
View source on GitHub |
Loads CIFAR10 dataset.
tf.keras.datasets.cifar10.load_data()
This is a dataset of 50,000 32x32 color training images and 10,000 test images, labeled over 10 categories. See more info at the CIFAR homepage.
Returns | |
---|---|
Tuple of Numpy arrays: (x_train, y_train), (x_test, y_test) . x_train, x_test: uint8 arrays of RGB image data with shape y_train, y_test: uint8 arrays of category labels (integers in range 0-9) each with shape (num_samples, 1). |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/keras/datasets/cifar10/load_data