Add shape check for compression_type in TFrecordDataset
Add shape check for compression_type in TFrecordDataset

Signed-off-by: Yong Tang <765086fe2e0c1f980161f127fec596800f327f62@outlook.com>

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