Skip to content

Instantly share code, notes, and snippets.

@aateg
Forked from ogyalcin/mnisttf.py
Last active October 26, 2019 14:58
Show Gist options
  • Save aateg/85333db884cc368cbc9d1acdc3356505 to your computer and use it in GitHub Desktop.
Save aateg/85333db884cc368cbc9d1acdc3356505 to your computer and use it in GitHub Desktop.
Import Tensorflow and MNIST Dataset
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment