A workaround to make sure strategy.reduce work correctly with dynamic shapes.
A workaround to make sure strategy.reduce work correctly with dynamic shapes.

PiperOrigin-RevId: 263452218

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