[XLA] Move a CHECK into Layout verification
[XLA] Move a CHECK into Layout verification

Sparse layouts that specify tiling should fail verification, not CHECK-fail in ToString.

PiperOrigin-RevId: 233483254

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