Last active
June 12, 2018 09:33
-
-
Save rahulkrishnan98/9d4feeea4d8464cdf21dcef855b52ec3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import numpy | |
| from keras.datasets import mnist | |
| from keras.models import Sequential | |
| from keras.layers import Dense | |
| from keras.layers import Dropout | |
| from keras.layers import Flatten | |
| from keras.layers.convolutional import Conv2D | |
| from keras.layers.convolutional import MaxPooling2D | |
| from keras.utils import np_utils | |
| from keras import backend as K | |
| K.set_image_dim_ordering('th') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment