Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. from tensorflow.examples.tutorials.mnist import input_data
  2.  
  3. mnist = input_data.read_data_sets('MNIST_data', one_hot=True)
  4. x_train = mnist.train.images
  5. print ('x_train Examples Loaded = ' + str(x_train.shape))
  6. y_train = mnist.train.labels
  7. print ('y_train Examples Loaded = ' + str(y_train.shape))
  8. x_test = mnist.test.images
  9. print ('x_test Examples Loaded = ' + str(x_test.shape))
  10. y_test = mnist.test.labels
  11. print ('y_test Examples Loaded = ' + str(y_test.shape))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement