Cache results of attr lookup in TFModuleWrapper. This should avoid lots of roundtrips through __getattribute__ and speed up (especially) eager execution.
Cache results of attr lookup in TFModuleWrapper. This should avoid lots of roundtrips through __getattribute__ and speed up (especially) eager execution.

PiperOrigin-RevId: 266943412

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