Split legacy layers `add_update` logic out of Keras.
Split legacy layers `add_update` logic out of Keras.

PiperOrigin-RevId: 249693568

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