Ensure run_deprecated_v1 only works when tf2 is enabled
Ensure run_deprecated_v1 only works when tf2 is enabled

PiperOrigin-RevId: 223385893

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