tf.keras.datasets.cifar10.load_data

TensorFlow 1 version View source on GitHub

Loads CIFAR10 dataset.

Tuple of Numpy arrays: (x_train, y_train), (x_test, y_test).