Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created September 5, 2019 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/cb44239cb847a1dd96720d76d2084a69 to your computer and use it in GitHub Desktop.
Save NMZivkovic/cb44239cb847a1dd96720d76d2084a69 to your computer and use it in GitHub Desktop.
(X_train, y_train), (X_test, y_test) = mnist.load_data()
X_train = X_train / 255.0
X_train = np.expand_dims(X_train, axis=3)
X_test = X_test / 255.0
X_test = np.expand_dims(X_test, axis=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment