Replace too obscure usage of functional::map by declare + reserve + loop.
Replace too obscure usage of functional::map by declare + reserve + loop.

Cleanup a usage of functional::map that is deemed too obscure in
`reindexAffineIndices`. Also fix a stale comment in `reindexAffineIndices`.

PiperOrigin-RevId: 231211184

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