Add a method_name and a tf.saved_model.save
Add a method_name and a tf.saved_model.save

Previously method_name was blank. We'll never be able to set "classify" or "regress", so everything will be predict.

I will follow up with a tensorflow_serving integration test (in that repo) due to sync issues.

Fixes #25234.

PiperOrigin-RevId: 231329696

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