Allow num_packs to be 0 in cross_device_ops, which is to allow no packing.
Allow num_packs to be 0 in cross_device_ops, which is to allow no packing.

PiperOrigin-RevId: 263451417

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