Fix bug causing tf.sparse.expand_dims to crash for arguments of dynamic dense rank.
Fix bug causing tf.sparse.expand_dims to crash for arguments of dynamic dense rank.

PiperOrigin-RevId: 290049840
Change-Id: I0a99bbf41e21f75511edefb75c49994a3323f963

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