Make the type check error message more informative for contrib.layers.fully_connected.
Make the type check error message more informative for contrib.layers.fully_connected.

PiperOrigin-RevId: 218244077

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