Replace map with objectIdentityDict to fix math_grad
Replace map with objectIdentityDict to fix math_grad

PiperOrigin-RevId: 263632918

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