Last active
March 10, 2018 09:18
-
-
Save alstat/3659ace479413d76c2c86fa76073f42a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
items = [x_train, y_train, x_test, y_test] | |
# training set | |
[type(item) for item in items[:2]] # [<type 'numpy.ndarray'>, <type 'numpy.ndarray'>] | |
[item.shape for item in items[:2]] # [(50000, 32, 32, 3), (50000, 1)] | |
# testing set | |
[type(item) for item in items[2:]] # [<type 'numpy.ndarray'>, <type 'numpy.ndarray'>] | |
[item.shape for item in items[2:]] # [(10000, 32, 32, 3), (10000, 1)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment