Fix crash from use of iterator after invalidation in grappler MutableGraphView
Fix crash from use of iterator after invalidation in grappler MutableGraphView

PiperOrigin-RevId: 237900336

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