dragen1860 / TensorFlow-2.x-Tutorials

TensorFlow 2.x version's Tutorials and Examples, including CNN, RNN, GAN, Auto-Encoders, FasterRCNN, GPT, BERT examples, etc. TF 2.0版入门实例代码,实战教程。
6.38k stars 2.24k forks source link

The ordering of batch and repeat #23

Closed Haichao-Zhang closed 4 years ago

Haichao-Zhang commented 4 years ago

Shall we do repeat before batching?

https://github.com/dragen1860/TensorFlow-2.x-Tutorials/blob/6e95f8707a5ac39aeebf48be8652871990b5600b/03-Play-with-MNIST/main.py#L13

dragen1860 commented 4 years ago

Hi, please refer to : https://stackoverflow.com/questions/49915925/output-differences-when-changing-order-of-batch-shuffle-and-repeat