from tensorflow.examples.tutorials.mnist import input_data

import TensorFI as ti

# Import MNIST data
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)

# In this example, we limit mnist data
Xtr, Ytr = mnist.train.next_batch(5000)  #5000 for training (nn candidates)
