Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Doc change added information on the shape of CIFAR datasets
The CIFAR datasets download in either channels_first or the channels_last format based on the backend setting.
  • Loading branch information
sriyogesh94 authored Aug 31, 2018
commit 16fbc40a24e170e1dcf9d62432d7fe797a1ffce9
4 changes: 2 additions & 2 deletions docs/templates/datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ from keras.datasets import cifar10

- __Returns:__
- 2 tuples:
- __x_train, x_test__: uint8 array of RGB image data with shape (num_samples, 32, 32, 3).
- __x_train, x_test__: uint8 array of RGB image data with shape (num_samples, 3, 32, 32) or (num_samples, 32, 32, 3) based on the `image_data_format` backend setting of either `channels_first` or `channels_last` respectively.
- __y_train, y_test__: uint8 array of category labels (integers in range 0-9) with shape (num_samples,).


Expand All @@ -34,7 +34,7 @@ from keras.datasets import cifar100

- __Returns:__
- 2 tuples:
- __x_train, x_test__: uint8 array of RGB image data with shape (num_samples, 32, 32, 3).
- __x_train, x_test__: uint8 array of RGB image data with shape (num_samples, 3, 32, 32) or (num_samples, 32, 32, 3) based on the `image_data_format` backend setting of either `channels_first` or `channels_last` respectively.
- __y_train, y_test__: uint8 array of category labels with shape (num_samples,).

- __Arguments:__
Expand Down