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

PiperOrigin-RevId: 215313156

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