TensorFlow CNN

Simple classification tasks

import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets(‘ data/’, one_hot=True)
# to be able to rerun