Steps per epoch clipping
Hi @mayureshagashe2105 It looks like your PR relates to the Keras component. Please submit it to the github.com/keras-team/keras repository instead. Thankyou.
@fchollet, @qlzh727
fixes #58966 

If the `steps_per_epoch` > len(dataset) in `model.fit()` method, training and validation stops prematurely. To avoid `StopIteration` error, clipping the value of `steps_per_epoch` to the maximum value possible is proposed.

