Skip to content

Instantly share code, notes, and snippets.

@aateg
aateg / mnisttf.py
Last active October 26, 2019 14:58 — forked from ogyalcin/mnisttf.py
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()