title: Tensorflow - shuffle & split dataset of images and labels
body: <p>New with Tensorflow, I'm using neural networks to classify images. I've got a <code>Tensor</code> that contains images, of shape  <code>[N, 128, 128, 1]</code> (N images 128x128 with 1 channel), and a <code>Tensor</code> of shape <code>[N]</code> that contains the labels of the  images.</p>
  
  <p>I want to shuffle it all and split it between training and testing tensors (let's say 80%-20%). I didn't find a way to 'zip' my tensors to associate each image with its label (in order to shuffle images and labels the same way). Is it possible ? If not, how can I achieve that shuffling/splitting job ?</p>
  
  <p>Thanks for any help !</p>