Why we are repeating training dataset

train_dataset = tf.data.Dataset.from_tensor_slices((x_train, y_train)).shuffle(60000).repeat().batch(batch_size)

Here we are repeating after shuffing . So the training data will be just repeated . but why ? please some one clarify me

I think this question is related to this topic Repeat. You may have a look at it.