Do not repack gradients if number of gradients is less than number of packs.
Do not repack gradients if number of gradients is less than number of packs.

PiperOrigin-RevId: 269358374

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