Tolerate Const nodes with no data or with smaller data than is required by their shape, by zero-extending the Const data to the required size.
Tolerate Const nodes with no data or with smaller data than is required
by their shape, by zero-extending the Const data to the required size.

We wanted to generate an error on that, but too many
existing graphs already rely on current lax behavior.

PiperOrigin-RevId: 184039876

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