Fix KeyError when validation_data was given as a dict
Fix KeyError when validation_data was given as a dict

This fix tries to address the issue raised in 30122 where
a KeyError was thrown when validation_data was given as a dict
during the mode.fit. This fix fixes the issue.

Thisfix fixes 30122.

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

karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,renyi533/tensorflow,chemelnucfin/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,petewarden/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,chemelnucfin/tensorflow,cxxgtxy/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,annarev/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,jhseu/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,aldian/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,jhseu/tensorflow,sarvex/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,arborh/tensorflow,freedomtan/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,freedomtan/tensorflow,gunan/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,jhseu/tensorflow,xzturn/tensorflow,petewarden/tensorflow,aam-at/tensorflow,petewarden/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_saved_model,davidzchen/tensorflow,chemelnucfin/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,cxxgtxy/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,aam-at/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,jhseu/tensorflow,aldian/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,annarev/tensorflow,tensorflow/tensorflow,gunan/tensorflow,aldian/tensorflow,jhseu/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,aam-at/tensorflow,annarev/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,petewarden/tensorflow,annarev/tensorflow,yongtang/tensorflow,sarvex/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,gautam1858/tensorflow,aldian/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,aldian/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,annarev/tensorflow,yongtang/tensorflow,jhseu/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,renyi533/tensorflow,chemelnucfin/tensorflow,petewarden/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,karllessard/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,arborh/tensorflow,petewarden/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,yongtang/tensorflow,gunan/tensorflow,gunan/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,annarev/tensorflow,chemelnucfin/tensorflow,DavidNorman/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,aldian/tensorflow,chemelnucfin/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,annarev/tensorflow