[DRR] Use eraseOp() to replace no-result ops
[DRR] Use eraseOp() to replace no-result ops

PiperOrigin-RevId: 275475229
Change-Id: I549ebee6c17035613ba14604078a5d0646420305

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