How to shuffle the training dataset at each epoch using model.fit() in Tensorflow 2.0 when data comes from tf.data.Dataset.from_tensor_slices()

前端 未结 0 1007
小蘑菇
小蘑菇 2020-11-29 02:56

I\'m training a neural network using the method fit() of Tensorflow 2.0. I would like to shuffle and then divide in batches my training set at each epoch.

I have seen

相关标签:
回答
  • 消灭零回复
提交回复
热议问题