[XLA] Remove a bogus invalid argument message printed out when --v>=1.
[XLA] Remove a bogus invalid argument message printed out when --v>=1.

When running any trivial XLA program with --v=1, you will see bogus message such
as "Invalid argument: Shape f32[] size may overflow int64". The reason for this
is because in ShapeUtil::ValidateShapeSize, we incorrectly construct an
InvalidArgument object prematurely. This change postpones the construction of
the InvalidArgument object until an invalid argument is actually discovered.

PiperOrigin-RevId: 202959886

alsrgv/tensorflow,girving/tensorflow,paolodedios/tensorflow,asimshankar/tensorflow,Intel-tensorflow/tensorflow,ageron/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,apark263/tensorflow,caisq/tensorflow,seanli9jan/tensorflow,annarev/tensorflow,girving/tensorflow,annarev/tensorflow,alshedivat/tensorflow,karllessard/tensorflow,aselle/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,tensorflow/tensorflow,aldian/tensorflow,karllessard/tensorflow,jhseu/tensorflow,AnishShah/tensorflow,kevin-coder/tensorflow-fork,kobejean/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,gunan/tensorflow,gunan/tensorflow,manipopopo/tensorflow,brchiu/tensorflow,jart/tensorflow,tensorflow/tensorflow,kevin-coder/tensorflow-fork,manipopopo/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,snnn/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,asimshankar/tensorflow,adit-chandra/tensorflow,jbedorf/tensorflow,alsrgv/tensorflow,apark263/tensorflow,theflofly/tensorflow,aselle/tensorflow,xodus7/tensorflow,aselle/tensorflow,AnishShah/tensorflow,annarev/tensorflow,Bismarrck/tensorflow,drpngx/tensorflow,davidzchen/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,AnishShah/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,annarev/tensorflow,renyi533/tensorflow,Bismarrck/tensorflow,caisq/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,asimshankar/tensorflow,aselle/tensorflow,ghchinoy/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,jart/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,aselle/tensorflow,arborh/tensorflow,dongjoon-hyun/tensorflow,ageron/tensorflow,arborh/tensorflow,xodus7/tensorflow,jendap/tensorflow,hfp/tensorflow-xsmm,jbedorf/tensorflow,yongtang/tensorflow,apark263/tensorflow,theflofly/tensorflow,ZhangXinNan/tensorflow,alshedivat/tensorflow,AnishShah/tensorflow,kevin-coder/tensorflow-fork,kevin-coder/tensorflow-fork,caisq/tensorflow,AnishShah/tensorflow,Bismarrck/tensorflow,dancingdan/tensorflow,brchiu/tensorflow,davidzchen/tensorflow,caisq/tensorflow,manipopopo/tensorflow,adit-chandra/tensorflow,brchiu/tensorflow,brchiu/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,seanli9jan/tensorflow,dongjoon-hyun/tensorflow,jendap/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,manipopopo/tensorflow,gunan/tensorflow,caisq/tensorflow,girving/tensorflow,alsrgv/tensorflow,girving/tensorflow,snnn/tensorflow,ZhangXinNan/tensorflow,hfp/tensorflow-xsmm,girving/tensorflow,AnishShah/tensorflow,ageron/tensorflow,chemelnucfin/tensorflow,alshedivat/tensorflow,snnn/tensorflow,xodus7/tensorflow,cxxgtxy/tensorflow,jbedorf/tensorflow,manipopopo/tensorflow,ZhangXinNan/tensorflow,sarvex/tensorflow,paolodedios/tensorflow,kobejean/tensorflow,alsrgv/tensorflow,renyi533/tensorflow,dancingdan/tensorflow,ageron/tensorflow,xzturn/tensorflow,dongjoon-hyun/tensorflow,cxxgtxy/tensorflow,dongjoon-hyun/tensorflow,hehongliang/tensorflow,theflofly/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,jbedorf/tensorflow,xzturn/tensorflow,yongtang/tensorflow,annarev/tensorflow,arborh/tensorflow,freedomtan/tensorflow,AnishShah/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,dongjoon-hyun/tensorflow,aselle/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,hfp/tensorflow-xsmm,tensorflow/tensorflow-experimental_link_static_libraries_once,ZhangXinNan/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jbedorf/tensorflow,Intel-tensorflow/tensorflow,snnn/tensorflow,adit-chandra/tensorflow,ageron/tensorflow,jbedorf/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,hfp/tensorflow-xsmm,girving/tensorflow,arborh/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Bismarrck/tensorflow,xodus7/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,aam-at/tensorflow,kobejean/tensorflow,xzturn/tensorflow,apark263/tensorflow,jalexvig/tensorflow,asimshankar/tensorflow,xzturn/tensorflow,ageron/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,girving/tensorflow,gautam1858/tensorflow,seanli9jan/tensorflow,renyi533/tensorflow,girving/tensorflow,alsrgv/tensorflow,alshedivat/tensorflow,hehongliang/tensorflow,ageron/tensorflow,alsrgv/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,Bismarrck/tensorflow,hfp/tensorflow-xsmm,jbedorf/tensorflow,cxxgtxy/tensorflow,jart/tensorflow,hehongliang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,aam-at/tensorflow,Intel-tensorflow/tensorflow,brchiu/tensorflow,adit-chandra/tensorflow,brchiu/tensorflow,ageron/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,Bismarrck/tensorflow,chemelnucfin/tensorflow,hehongliang/tensorflow,jhseu/tensorflow,apark263/tensorflow,apark263/tensorflow,tensorflow/tensorflow,dongjoon-hyun/tensorflow,xodus7/tensorflow,aselle/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,drpngx/tensorflow,Bismarrck/tensorflow,davidzchen/tensorflow,jalexvig/tensorflow,alsrgv/tensorflow,sarvex/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,jart/tensorflow,petewarden/tensorflow,jbedorf/tensorflow,adit-chandra/tensorflow,brchiu/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,kobejean/tensorflow,petewarden/tensorflow,jalexvig/tensorflow,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,kobejean/tensorflow,jart/tensorflow,drpngx/tensorflow,davidzchen/tensorflow,freedomtan/tensorflow,alshedivat/tensorflow,petewarden/tensorflow,gunan/tensorflow,xodus7/tensorflow,renyi533/tensorflow,karllessard/tensorflow,petewarden/tensorflow,jbedorf/tensorflow,gautam1858/tensorflow,jalexvig/tensorflow,annarev/tensorflow,renyi533/tensorflow,karllessard/tensorflow,dancingdan/tensorflow,snnn/tensorflow,xzturn/tensorflow,caisq/tensorflow,caisq/tensorflow,drpngx/tensorflow,hehongliang/tensorflow,apark263/tensorflow,jbedorf/tensorflow,kobejean/tensorflow,annarev/tensorflow,aldian/tensorflow,caisq/tensorflow,girving/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,sarvex/tensorflow,aselle/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,jbedorf/tensorflow,aldian/tensorflow,jendap/tensorflow,xodus7/tensorflow,drpngx/tensorflow,annarev/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow,petewarden/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow,dancingdan/tensorflow,ZhangXinNan/tensorflow,renyi533/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,kobejean/tensorflow,Intel-Corporation/tensorflow,jendap/tensorflow,cxxgtxy/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow,gunan/tensorflow,snnn/tensorflow,sarvex/tensorflow,petewarden/tensorflow,jart/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kevin-coder/tensorflow-fork,chemelnucfin/tensorflow,girving/tensorflow,brchiu/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,hfp/tensorflow-xsmm,annarev/tensorflow,caisq/tensorflow,arborh/tensorflow,gautam1858/tensorflow,manipopopo/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,dongjoon-hyun/tensorflow,tensorflow/tensorflow-pywrap_saved_model,seanli9jan/tensorflow,jalexvig/tensorflow,davidzchen/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,ZhangXinNan/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,freedomtan/tensorflow,apark263/tensorflow,dancingdan/tensorflow,paolodedios/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jendap/tensorflow,renyi533/tensorflow,manipopopo/tensorflow,annarev/tensorflow,aldian/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,alshedivat/tensorflow,snnn/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,theflofly/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,manipopopo/tensorflow,freedomtan/tensorflow,kobejean/tensorflow,hfp/tensorflow-xsmm,xodus7/tensorflow,freedomtan/tensorflow,dongjoon-hyun/tensorflow,sarvex/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,aselle/tensorflow,petewarden/tensorflow,xodus7/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ghchinoy/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,ageron/tensorflow,ZhangXinNan/tensorflow,drpngx/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,Intel-tensorflow/tensorflow,jart/tensorflow,petewarden/tensorflow,hfp/tensorflow-xsmm,dancingdan/tensorflow,yongtang/tensorflow,asimshankar/tensorflow,jart/tensorflow,dancingdan/tensorflow,ppwwyyxx/tensorflow,asimshankar/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ZhangXinNan/tensorflow,seanli9jan/tensorflow,asimshankar/tensorflow,alshedivat/tensorflow,jalexvig/tensorflow,gunan/tensorflow,davidzchen/tensorflow,dancingdan/tensorflow,dancingdan/tensorflow,jhseu/tensorflow,asimshankar/tensorflow,chemelnucfin/tensorflow,Bismarrck/tensorflow,aldian/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,seanli9jan/tensorflow,DavidNorman/tensorflow,ghchinoy/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,karllessard/tensorflow,kobejean/tensorflow,jart/tensorflow,Bismarrck/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,jendap/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,jalexvig/tensorflow,manipopopo/tensorflow,arborh/tensorflow,karllessard/tensorflow,snnn/tensorflow,davidzchen/tensorflow,drpngx/tensorflow,xodus7/tensorflow,arborh/tensorflow,drpngx/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aselle/tensorflow,xodus7/tensorflow,arborh/tensorflow,apark263/tensorflow,aldian/tensorflow,arborh/tensorflow,dongjoon-hyun/tensorflow,seanli9jan/tensorflow,theflofly/tensorflow,aldian/tensorflow,kobejean/tensorflow,theflofly/tensorflow,ghchinoy/tensorflow,jendap/tensorflow,karllessard/tensorflow,jart/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,drpngx/tensorflow,aam-at/tensorflow,seanli9jan/tensorflow,hehongliang/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,dancingdan/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,brchiu/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,jalexvig/tensorflow,hfp/tensorflow-xsmm,kevin-coder/tensorflow-fork,hehongliang/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,Bismarrck/tensorflow,jalexvig/tensorflow,davidzchen/tensorflow,seanli9jan/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,snnn/tensorflow,kevin-coder/tensorflow-fork,snnn/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,AnishShah/tensorflow,aam-at/tensorflow,brchiu/tensorflow,dongjoon-hyun/tensorflow,ZhangXinNan/tensorflow,caisq/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,ageron/tensorflow,aldian/tensorflow,annarev/tensorflow,alsrgv/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,gunan/tensorflow,jhseu/tensorflow,ghchinoy/tensorflow,ageron/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,drpngx/tensorflow,kevin-coder/tensorflow-fork,gautam1858/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,girving/tensorflow,xzturn/tensorflow,ZhangXinNan/tensorflow,theflofly/tensorflow,apark263/tensorflow,AnishShah/tensorflow,manipopopo/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,manipopopo/tensorflow,brchiu/tensorflow,renyi533/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,aselle/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,alsrgv/tensorflow,theflofly/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,gunan/tensorflow,renyi533/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,ZhangXinNan/tensorflow,karllessard/tensorflow,asimshankar/tensorflow,sarvex/tensorflow,AnishShah/tensorflow,adit-chandra/tensorflow,alshedivat/tensorflow,theflofly/tensorflow,aam-at/tensorflow,snnn/tensorflow,Bismarrck/tensorflow,jendap/tensorflow,paolodedios/tensorflow,jendap/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,apark263/tensorflow,alshedivat/tensorflow,Intel-tensorflow/tensorflow,kobejean/tensorflow,AnishShah/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,theflofly/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,gautam1858/tensorflow