[Grappler] Move the output graph in ModelPruner::Optimize().
[Grappler] Move the output graph in ModelPruner::Optimize().

PiperOrigin-RevId: 264849994

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