Fix a small bug. The guard should be to make sure 1 is the minimal value, instead of the max value. This only applies to where layer norm has identical input, which is extremely rare.
Fix a small bug. The guard should be to make sure 1 is the minimal value, instead of the max value. This only applies to where layer norm has identical input, which is extremely rare.

PiperOrigin-RevId: 266047446

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