Make Keras/TPU more robust to closed TF sessions.
Make Keras/TPU more robust to closed TF sessions.

PiperOrigin-RevId: 215313156

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