title: How to augment data in tensorflow tfrecords?
body: <p>I am storing my data using tfrecords and I read them as tensors using <code>Dataset</code> API and then I use the <code>Estimator</code> API to perform training. Now, I want to do online data-augmentation on each item in the dataset, but after trying for a while I cannot find a way out to do it. I want randomly flipping, randomly rotation and other manipulators.</p>
  
  <p>I am following the instructions given in <a href="https://github.com/Hvass-Labs/TensorFlow-Tutorials/blob/master/18_TFRecords_Dataset_API.ipynb" rel="noreferrer">this</a> tutorial with a custom estimator which is the my CNN and I am not sure where the data augmentation step occurs.</p>