title: TensorFlow: Import gzip mnist-dataset
body: <p>I am currently learning ML and walked through this 
  <a href="https://www.tensorflow.org/versions/r1.0/get_started/mnist/beginners" rel="nofollow noreferrer">link</a>  </p>
  
  <p>Everything's fine and cool, but the mnist-import throws warnings and says the methods that are used are deprecated.</p>
  
  <p>I don't know if I should "update" this, so that would be my first question, but I also want to import another dataset later (It will be train-images.gz etc. again)</p>
  
  <p>So, what I need is a method that reads .gz-Datasets from a folder and imports them. I've read about <code>tf.data.Dataset</code>, but I think I didn't really get it or it's just not what I need.</p>