Simplify dataset shuffling logic in Keras' model.fit(), and make it sensitive to the user's batch size.
Simplify dataset shuffling logic in Keras' model.fit(), and
make it sensitive to the user's batch size.

PiperOrigin-RevId: 232533325

aam-at/tensorflow,renyi533/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,aldian/tensorflow,renyi533/tensorflow,jendap/tensorflow,aldian/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,paolodedios/tensorflow,arborh/tensorflow,tensorflow/tensorflow,alsrgv/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,petewarden/tensorflow,kevin-coder/tensorflow-fork,cxxgtxy/tensorflow,ageron/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,gautam1858/tensorflow,jendap/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,jbedorf/tensorflow,jhseu/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,ageron/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,arborh/tensorflow,theflofly/tensorflow,xzturn/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,Intel-tensorflow/tensorflow,ageron/tensorflow,arborh/tensorflow,annarev/tensorflow,kevin-coder/tensorflow-fork,renyi533/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jbedorf/tensorflow,ageron/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,aldian/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,theflofly/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,theflofly/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,chemelnucfin/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,aam-at/tensorflow,gunan/tensorflow,jbedorf/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,ageron/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,alsrgv/tensorflow,alsrgv/tensorflow,ppwwyyxx/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,jbedorf/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,ghchinoy/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,kevin-coder/tensorflow-fork,yongtang/tensorflow,xzturn/tensorflow,ghchinoy/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,jbedorf/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,arborh/tensorflow,annarev/tensorflow,alsrgv/tensorflow,theflofly/tensorflow,petewarden/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,theflofly/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,davidzchen/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,annarev/tensorflow,petewarden/tensorflow,theflofly/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,aldian/tensorflow,karllessard/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jendap/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,xzturn/tensorflow,theflofly/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,renyi533/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,gunan/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,aldian/tensorflow,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,aam-at/tensorflow,ghchinoy/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,theflofly/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,annarev/tensorflow,annarev/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,Intel-Corporation/tensorflow,chemelnucfin/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,theflofly/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,aldian/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,chemelnucfin/tensorflow,ageron/tensorflow,gunan/tensorflow,alsrgv/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,ghchinoy/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,jbedorf/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,ghchinoy/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,jendap/tensorflow,gunan/tensorflow,gautam1858/tensorflow,arborh/tensorflow,petewarden/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow,renyi533/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,renyi533/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,ageron/tensorflow,gunan/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,xzturn/tensorflow,karllessard/tensorflow,ageron/tensorflow,alsrgv/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jendap/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,annarev/tensorflow,annarev/tensorflow,kevin-coder/tensorflow-fork,petewarden/tensorflow,sarvex/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,DavidNorman/tensorflow,karllessard/tensorflow,kevin-coder/tensorflow-fork,frreiss/tensorflow-fred,cxxgtxy/tensorflow,arborh/tensorflow,jhseu/tensorflow,aldian/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,kevin-coder/tensorflow-fork,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,alsrgv/tensorflow,theflofly/tensorflow,yongtang/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jendap/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,jbedorf/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,jhseu/tensorflow