Fix for pruning case on non graph.
Fix for pruning case on non graph.

PiperOrigin-RevId: 261019967

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