Change TPU Keras API to use DistributionStrategy.
Change TPU Keras API to use DistributionStrategy.

PiperOrigin-RevId: 202334741

cxxgtxy/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,kobejean/tensorflow,freedomtan/tensorflow,drpngx/tensorflow,AnishShah/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,ageron/tensorflow,snnn/tensorflow,davidzchen/tensorflow,gunan/tensorflow,sarvex/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,brchiu/tensorflow,jbedorf/tensorflow,brchiu/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kobejean/tensorflow,annarev/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dongjoon-hyun/tensorflow,ZhangXinNan/tensorflow,xodus7/tensorflow,ppwwyyxx/tensorflow,alshedivat/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jart/tensorflow,jalexvig/tensorflow,aselle/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,apark263/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,renyi533/tensorflow,ageron/tensorflow,kobejean/tensorflow,jart/tensorflow,adit-chandra/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,kobejean/tensorflow,hehongliang/tensorflow,arborh/tensorflow,karllessard/tensorflow,jalexvig/tensorflow,xodus7/tensorflow,ghchinoy/tensorflow,ZhangXinNan/tensorflow,kevin-coder/tensorflow-fork,jhseu/tensorflow,manipopopo/tensorflow,tensorflow/tensorflow,alshedivat/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,jalexvig/tensorflow,drpngx/tensorflow,renyi533/tensorflow,karllessard/tensorflow,jalexvig/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,gunan/tensorflow,ZhangXinNan/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,karllessard/tensorflow,manipopopo/tensorflow,hfp/tensorflow-xsmm,hfp/tensorflow-xsmm,jendap/tensorflow,annarev/tensorflow,davidzchen/tensorflow,brchiu/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,jhseu/tensorflow,seanli9jan/tensorflow,ageron/tensorflow,Intel-Corporation/tensorflow,ageron/tensorflow,paolodedios/tensorflow,kevin-coder/tensorflow-fork,jhseu/tensorflow,gunan/tensorflow,Bismarrck/tensorflow,theflofly/tensorflow,gunan/tensorflow,Bismarrck/tensorflow,arborh/tensorflow,apark263/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,dancingdan/tensorflow,brchiu/tensorflow,Bismarrck/tensorflow,jendap/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,caisq/tensorflow,alsrgv/tensorflow,ageron/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,theflofly/tensorflow,alshedivat/tensorflow,petewarden/tensorflow,drpngx/tensorflow,kevin-coder/tensorflow-fork,aldian/tensorflow,karllessard/tensorflow,asimshankar/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,aam-at/tensorflow,hfp/tensorflow-xsmm,renyi533/tensorflow,hfp/tensorflow-xsmm,davidzchen/tensorflow,tensorflow/tensorflow,hfp/tensorflow-xsmm,xodus7/tensorflow,brchiu/tensorflow,dongjoon-hyun/tensorflow,aam-at/tensorflow,brchiu/tensorflow,kobejean/tensorflow,hehongliang/tensorflow,alsrgv/tensorflow,brchiu/tensorflow,apark263/tensorflow,theflofly/tensorflow,freedomtan/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_tf_optimizer,aselle/tensorflow,theflofly/tensorflow,ghchinoy/tensorflow,seanli9jan/tensorflow,apark263/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,jart/tensorflow,ZhangXinNan/tensorflow,jbedorf/tensorflow,dongjoon-hyun/tensorflow,renyi533/tensorflow,kobejean/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,AnishShah/tensorflow,aldian/tensorflow,kobejean/tensorflow,seanli9jan/tensorflow,hfp/tensorflow-xsmm,manipopopo/tensorflow,snnn/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,ZhangXinNan/tensorflow,jalexvig/tensorflow,caisq/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,brchiu/tensorflow,drpngx/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,drpngx/tensorflow,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,caisq/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,davidzchen/tensorflow,apark263/tensorflow,snnn/tensorflow,xzturn/tensorflow,jendap/tensorflow,dancingdan/tensorflow,freedomtan/tensorflow,jart/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,brchiu/tensorflow,seanli9jan/tensorflow,aam-at/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,jendap/tensorflow,frreiss/tensorflow-fred,manipopopo/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,girving/tensorflow,aam-at/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,snnn/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,aselle/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,arborh/tensorflow,manipopopo/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,ageron/tensorflow,renyi533/tensorflow,xodus7/tensorflow,apark263/tensorflow,jbedorf/tensorflow,renyi533/tensorflow,jalexvig/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,hehongliang/tensorflow,alshedivat/tensorflow,karllessard/tensorflow,aam-at/tensorflow,dancingdan/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,manipopopo/tensorflow,manipopopo/tensorflow,aldian/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,ZhangXinNan/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,jendap/tensorflow,jbedorf/tensorflow,renyi533/tensorflow,jendap/tensorflow,Intel-Corporation/tensorflow,karllessard/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,hehongliang/tensorflow,brchiu/tensorflow,annarev/tensorflow,AnishShah/tensorflow,manipopopo/tensorflow,kevin-coder/tensorflow-fork,kevin-coder/tensorflow-fork,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,theflofly/tensorflow,chemelnucfin/tensorflow,freedomtan/tensorflow,alsrgv/tensorflow,Bismarrck/tensorflow,caisq/tensorflow,Bismarrck/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,AnishShah/tensorflow,jhseu/tensorflow,girving/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,AnishShah/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,renyi533/tensorflow,Bismarrck/tensorflow,ppwwyyxx/tensorflow,xodus7/tensorflow,dancingdan/tensorflow,snnn/tensorflow,kobejean/tensorflow,jbedorf/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,aldian/tensorflow,xodus7/tensorflow,adit-chandra/tensorflow,drpngx/tensorflow,yongtang/tensorflow,jart/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,dancingdan/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,caisq/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jhseu/tensorflow,dancingdan/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,karllessard/tensorflow,asimshankar/tensorflow,apark263/tensorflow,caisq/tensorflow,xzturn/tensorflow,jhseu/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,gunan/tensorflow,alsrgv/tensorflow,brchiu/tensorflow,sarvex/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,jendap/tensorflow,caisq/tensorflow,renyi533/tensorflow,girving/tensorflow,sarvex/tensorflow,dongjoon-hyun/tensorflow,ZhangXinNan/tensorflow,theflofly/tensorflow,chemelnucfin/tensorflow,sarvex/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,AnishShah/tensorflow,alshedivat/tensorflow,jendap/tensorflow,ppwwyyxx/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,jart/tensorflow,ageron/tensorflow,gunan/tensorflow,manipopopo/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,gunan/tensorflow,apark263/tensorflow,paolodedios/tensorflow,snnn/tensorflow,dancingdan/tensorflow,xodus7/tensorflow,snnn/tensorflow,ghchinoy/tensorflow,hfp/tensorflow-xsmm,cxxgtxy/tensorflow,annarev/tensorflow,drpngx/tensorflow,Bismarrck/tensorflow,seanli9jan/tensorflow,aldian/tensorflow,seanli9jan/tensorflow,ageron/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,girving/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,seanli9jan/tensorflow,tensorflow/tensorflow,snnn/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,alshedivat/tensorflow,AnishShah/tensorflow,aselle/tensorflow,paolodedios/tensorflow,jalexvig/tensorflow,aam-at/tensorflow,dongjoon-hyun/tensorflow,seanli9jan/tensorflow,asimshankar/tensorflow,dongjoon-hyun/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,alsrgv/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,ghchinoy/tensorflow,manipopopo/tensorflow,karllessard/tensorflow,drpngx/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,theflofly/tensorflow,asimshankar/tensorflow,yongtang/tensorflow,girving/tensorflow,manipopopo/tensorflow,paolodedios/tensorflow,annarev/tensorflow,xzturn/tensorflow,xodus7/tensorflow,freedomtan/tensorflow,theflofly/tensorflow,aselle/tensorflow,arborh/tensorflow,xzturn/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,xodus7/tensorflow,arborh/tensorflow,snnn/tensorflow,jart/tensorflow,drpngx/tensorflow,sarvex/tensorflow,theflofly/tensorflow,AnishShah/tensorflow,jbedorf/tensorflow,yongtang/tensorflow,petewarden/tensorflow,alsrgv/tensorflow,ZhangXinNan/tensorflow,jhseu/tensorflow,caisq/tensorflow,DavidNorman/tensorflow,girving/tensorflow,ageron/tensorflow,hehongliang/tensorflow,xzturn/tensorflow,aselle/tensorflow,caisq/tensorflow,Bismarrck/tensorflow,kevin-coder/tensorflow-fork,seanli9jan/tensorflow,freedomtan/tensorflow,asimshankar/tensorflow,alshedivat/tensorflow,jart/tensorflow,Intel-Corporation/tensorflow,asimshankar/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,drpngx/tensorflow,petewarden/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,hehongliang/tensorflow,seanli9jan/tensorflow,AnishShah/tensorflow,caisq/tensorflow,aam-at/tensorflow,jhseu/tensorflow,chemelnucfin/tensorflow,dancingdan/tensorflow,aselle/tensorflow,hfp/tensorflow-xsmm,apark263/tensorflow,petewarden/tensorflow,apark263/tensorflow,jart/tensorflow,tensorflow/tensorflow,girving/tensorflow,davidzchen/tensorflow,dongjoon-hyun/tensorflow,apark263/tensorflow,kevin-coder/tensorflow-fork,girving/tensorflow,alshedivat/tensorflow,kobejean/tensorflow,jart/tensorflow,gautam1858/tensorflow,ageron/tensorflow,girving/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,xodus7/tensorflow,jalexvig/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,ppwwyyxx/tensorflow,dancingdan/tensorflow,DavidNorman/tensorflow,jalexvig/tensorflow,jendap/tensorflow,girving/tensorflow,ghchinoy/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_tf_optimizer,xodus7/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,ZhangXinNan/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,dongjoon-hyun/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,alsrgv/tensorflow,Bismarrck/tensorflow,gunan/tensorflow,theflofly/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ZhangXinNan/tensorflow,aldian/tensorflow,arborh/tensorflow,aselle/tensorflow,freedomtan/tensorflow,aselle/tensorflow,AnishShah/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,seanli9jan/tensorflow,snnn/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,ZhangXinNan/tensorflow,Bismarrck/tensorflow,jendap/tensorflow,alshedivat/tensorflow,annarev/tensorflow,girving/tensorflow,kobejean/tensorflow,snnn/tensorflow,aam-at/tensorflow,ageron/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,paolodedios/tensorflow,jalexvig/tensorflow,kobejean/tensorflow,hehongliang/tensorflow,arborh/tensorflow,yongtang/tensorflow,dongjoon-hyun/tensorflow,dancingdan/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,aselle/tensorflow,chemelnucfin/tensorflow,cxxgtxy/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,adit-chandra/tensorflow,kevin-coder/tensorflow-fork,arborh/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,AnishShah/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,dongjoon-hyun/tensorflow,aam-at/tensorflow,asimshankar/tensorflow,aselle/tensorflow,asimshankar/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,alshedivat/tensorflow,alsrgv/tensorflow,cxxgtxy/tensorflow,alshedivat/tensorflow,hfp/tensorflow-xsmm,alsrgv/tensorflow,arborh/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,jalexvig/tensorflow