Add TPUStrategy tests for device based strategy and switches.
Add TPUStrategy tests for device based strategy and switches.

PiperOrigin-RevId: 299121157
Change-Id: Iae43dcf92b7d7e4b87ecd17e1a98cccf70eac0f3

renyi533/tensorflow,davidzchen/tensorflow,yongtang/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,annarev/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,paolodedios/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,karllessard/tensorflow,annarev/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,yongtang/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,gunan/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,renyi533/tensorflow,aam-at/tensorflow,aldian/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,gunan/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,xzturn/tensorflow,gunan/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,gunan/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,gunan/tensorflow,paolodedios/tensorflow,aldian/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,annarev/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,karllessard/tensorflow,petewarden/tensorflow,sarvex/tensorflow,sarvex/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,aam-at/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,renyi533/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,sarvex/tensorflow,xzturn/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,annarev/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,gunan/tensorflow,petewarden/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,aam-at/tensorflow,petewarden/tensorflow,gunan/tensorflow,annarev/tensorflow,renyi533/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,tensorflow/tensorflow,gunan/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,petewarden/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,aam-at/tensorflow,aam-at/tensorflow,gunan/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,gunan/tensorflow,xzturn/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,gunan/tensorflow,aldian/tensorflow,xzturn/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,aldian/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,aldian/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,yongtang/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,karllessard/tensorflow,davidzchen/tensorflow