Small change in tf.nn.sufficient_statistics to guard against unknown shapes.
Small change in tf.nn.sufficient_statistics to guard against unknown shapes.

Use is_fully_defined instead of checking shape.dims[d] as the dims variable may be None, if the rank is unknown.

PiperOrigin-RevId: 239829841

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