    Return nullptr on Region::getContainingOperation()/getContainingFunction() instead of asserting
    Return nullptr on Region::getContainingOperation()/getContainingFunction() instead of asserting

    This avoids crashing when trying to dump an operation nested in a region that isn't yet attached to an operation, which is quite useful when debugging.

    This alone won't be enough to print an unlink Operation, it'll display `<<UNLINKED INSTRUCTION>>`.

--

PiperOrigin-RevId: 249496388

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