Move compat call out of test's __main__.
Move compat call out of test's __main__.

PiperOrigin-RevId: 273827323

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