Code cleanup: remove some usages of v1 metrics.
Code cleanup: remove some usages of v1 metrics.

PiperOrigin-RevId: 230630087

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