Add decorator to run all tests in a class in deprecated graph mode.
Add decorator to run all tests in a class in deprecated graph mode.

Separated out change in core from cl/266279053

PiperOrigin-RevId: 266482384

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