Fix graph mode test decorator to only check eager
Fix graph mode test decorator to only check eager

Checking for tf2 broadly was never the intent of this decorators. As a
result it did not compose well with run_all_in_graph_and_eager_modes,
since that only enabled eager execution.

PiperOrigin-RevId: 274617084

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