Allow computing gradients of If/While in imported graphs.
Allow computing gradients of If/While in imported graphs.

PiperOrigin-RevId: 320218171
Change-Id: I3f030716123b4e9ce3c2dc53b7c30112dc05a908

tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,aldian/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,freedomtan/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,annarev/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,yongtang/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,annarev/tensorflow,annarev/tensorflow,aam-at/tensorflow,petewarden/tensorflow,sarvex/tensorflow,sarvex/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,cxxgtxy/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,annarev/tensorflow,gautam1858/tensorflow,annarev/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,aldian/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,petewarden/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,yongtang/tensorflow,sarvex/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,aam-at/tensorflow,aldian/tensorflow,aldian/tensorflow,karllessard/tensorflow,aldian/tensorflow,karllessard/tensorflow,petewarden/tensorflow,karllessard/tensorflow,sarvex/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,cxxgtxy/tensorflow