Make predicted and output types match, so equal op can run.
Make predicted and output types match, so equal op can run.

This will allow https://www.tensorflow.org/tutorials/keras/basic_classification to run in eager mode.

PiperOrigin-RevId: 216754760

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