Missed TensorFlow World? Check out the recap. Learn more

tf.keras.datasets.cifar10.load_data

View source on GitHub

Loads CIFAR10 dataset.

Aliases:

  • tf.compat.v1.keras.datasets.cifar10.load_data
  • tf.compat.v2.keras.datasets.cifar10.load_data
tf.keras.datasets.cifar10.load_data()

Used in the guide:

Used in the tutorials:

Returns:

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