Executor: Move `GetNodeAttr()` off the critical path for loop execution.
Executor: Move `GetNodeAttr()` off the critical path for loop execution.

In `ExecutorState::PropagateOutputs()`, each time a loop enter node is
processed, the node's attrs are consulted to determine if it is a
"constant" or "non-constant" enter node. This entails a call to the
protobuf library, followed by multiple string comparisons to find the
attribute in the Node's NodeDef's attr map. The value of this property
never changes after the executor is first constructed, so in this
change we move it to a cached field on the `NodeItem` struct, and use
that value.

PiperOrigin-RevId: 214047449

xzturn/tensorflow,snnn/tensorflow,ageron/tensorflow,gunan/tensorflow,hfp/tensorflow-xsmm,dongjoon-hyun/tensorflow,alshedivat/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,dancingdan/tensorflow,kevin-coder/tensorflow-fork,dancingdan/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,theflofly/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,arborh/tensorflow,renyi533/tensorflow,renyi533/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow,hfp/tensorflow-xsmm,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,annarev/tensorflow,asimshankar/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,jendap/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kevin-coder/tensorflow-fork,theflofly/tensorflow,hehongliang/tensorflow,renyi533/tensorflow,kevin-coder/tensorflow-fork,seanli9jan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,hfp/tensorflow-xsmm,chemelnucfin/tensorflow,theflofly/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,girving/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,aam-at/tensorflow,kobejean/tensorflow,brchiu/tensorflow,jbedorf/tensorflow,asimshankar/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,seanli9jan/tensorflow,girving/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,davidzchen/tensorflow,jbedorf/tensorflow,Bismarrck/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,seanli9jan/tensorflow,alsrgv/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,yongtang/tensorflow,aldian/tensorflow,aldian/tensorflow,brchiu/tensorflow,sarvex/tensorflow,jendap/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,sarvex/tensorflow,Bismarrck/tensorflow,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,DavidNorman/tensorflow,alshedivat/tensorflow,ageron/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,cxxgtxy/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,gunan/tensorflow,arborh/tensorflow,jendap/tensorflow,girving/tensorflow,ppwwyyxx/tensorflow,brchiu/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,seanli9jan/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,Bismarrck/tensorflow,brchiu/tensorflow,Bismarrck/tensorflow,theflofly/tensorflow,paolodedios/tensorflow,kobejean/tensorflow,karllessard/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,alshedivat/tensorflow,freedomtan/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,annarev/tensorflow,jhseu/tensorflow,ageron/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,kobejean/tensorflow,girving/tensorflow,dancingdan/tensorflow,apark263/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,asimshankar/tensorflow,alsrgv/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,arborh/tensorflow,hehongliang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,alsrgv/tensorflow,asimshankar/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,asimshankar/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,dongjoon-hyun/tensorflow,theflofly/tensorflow,dongjoon-hyun/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ageron/tensorflow,apark263/tensorflow,brchiu/tensorflow,ghchinoy/tensorflow,hfp/tensorflow-xsmm,asimshankar/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,brchiu/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,apark263/tensorflow,petewarden/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,kevin-coder/tensorflow-fork,chemelnucfin/tensorflow,alshedivat/tensorflow,girving/tensorflow,gautam1858/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,aldian/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,kevin-coder/tensorflow-fork,brchiu/tensorflow,aam-at/tensorflow,apark263/tensorflow,davidzchen/tensorflow,alshedivat/tensorflow,xzturn/tensorflow,gunan/tensorflow,jbedorf/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,xzturn/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,asimshankar/tensorflow,frreiss/tensorflow-fred,hehongliang/tensorflow,snnn/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,ageron/tensorflow,gautam1858/tensorflow,aldian/tensorflow,dancingdan/tensorflow,gunan/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,arborh/tensorflow,dancingdan/tensorflow,gautam1858/tensorflow,kobejean/tensorflow,jendap/tensorflow,snnn/tensorflow,jendap/tensorflow,chemelnucfin/tensorflow,apark263/tensorflow,frreiss/tensorflow-fred,dongjoon-hyun/tensorflow,jbedorf/tensorflow,jendap/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,dongjoon-hyun/tensorflow,alshedivat/tensorflow,snnn/tensorflow,gunan/tensorflow,paolodedios/tensorflow,jendap/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,gunan/tensorflow,jbedorf/tensorflow,hehongliang/tensorflow,seanli9jan/tensorflow,dongjoon-hyun/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,girving/tensorflow,yongtang/tensorflow,xzturn/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,aam-at/tensorflow,arborh/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,hehongliang/tensorflow,ppwwyyxx/tensorflow,hehongliang/tensorflow,karllessard/tensorflow,jhseu/tensorflow,gunan/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,kobejean/tensorflow,jendap/tensorflow,Bismarrck/tensorflow,adit-chandra/tensorflow,kobejean/tensorflow,ppwwyyxx/tensorflow,apark263/tensorflow,xzturn/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,asimshankar/tensorflow,hfp/tensorflow-xsmm,snnn/tensorflow,theflofly/tensorflow,tensorflow/tensorflow,hfp/tensorflow-xsmm,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,Bismarrck/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,ageron/tensorflow,dongjoon-hyun/tensorflow,aam-at/tensorflow,annarev/tensorflow,ghchinoy/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,chemelnucfin/tensorflow,apark263/tensorflow,gautam1858/tensorflow,aldian/tensorflow,frreiss/tensorflow-fred,jendap/tensorflow,Intel-Corporation/tensorflow,kobejean/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,ghchinoy/tensorflow,frreiss/tensorflow-fred,chemelnucfin/tensorflow,gunan/tensorflow,asimshankar/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow,apark263/tensorflow,jhseu/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,sarvex/tensorflow,kevin-coder/tensorflow-fork,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,ghchinoy/tensorflow,alshedivat/tensorflow,paolodedios/tensorflow,dongjoon-hyun/tensorflow,davidzchen/tensorflow,asimshankar/tensorflow,Intel-Corporation/tensorflow,girving/tensorflow,ageron/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,jbedorf/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,aam-at/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,girving/tensorflow,renyi533/tensorflow,jhseu/tensorflow,ageron/tensorflow,dancingdan/tensorflow,jhseu/tensorflow,annarev/tensorflow,jbedorf/tensorflow,jbedorf/tensorflow,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,snnn/tensorflow,Bismarrck/tensorflow,paolodedios/tensorflow,kobejean/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,girving/tensorflow,yongtang/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,Intel-Corporation/tensorflow,alshedivat/tensorflow,gautam1858/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_saved_model,hfp/tensorflow-xsmm,ageron/tensorflow,ppwwyyxx/tensorflow,kobejean/tensorflow,brchiu/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,dancingdan/tensorflow,ghchinoy/tensorflow,Bismarrck/tensorflow,Bismarrck/tensorflow,yongtang/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,snnn/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,jbedorf/tensorflow,seanli9jan/tensorflow,apark263/tensorflow,xzturn/tensorflow,renyi533/tensorflow,aldian/tensorflow,snnn/tensorflow,arborh/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,alshedivat/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,petewarden/tensorflow,gunan/tensorflow,jendap/tensorflow,snnn/tensorflow,girving/tensorflow,tensorflow/tensorflow-pywrap_saved_model,alshedivat/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,seanli9jan/tensorflow,chemelnucfin/tensorflow,annarev/tensorflow,karllessard/tensorflow,annarev/tensorflow,brchiu/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,jbedorf/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,dongjoon-hyun/tensorflow,theflofly/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,hfp/tensorflow-xsmm,theflofly/tensorflow,xzturn/tensorflow,snnn/tensorflow,freedomtan/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dancingdan/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,seanli9jan/tensorflow,kobejean/tensorflow,alsrgv/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,sarvex/tensorflow,seanli9jan/tensorflow,jhseu/tensorflow,karllessard/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,petewarden/tensorflow,apark263/tensorflow,karllessard/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,seanli9jan/tensorflow,girving/tensorflow,snnn/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ppwwyyxx/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,ghchinoy/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,jhseu/tensorflow,arborh/tensorflow,dancingdan/tensorflow,annarev/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,Bismarrck/tensorflow,karllessard/tensorflow,hfp/tensorflow-xsmm,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,apark263/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jhseu/tensorflow,hehongliang/tensorflow,jbedorf/tensorflow,seanli9jan/tensorflow,asimshankar/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow,hfp/tensorflow-xsmm,jhseu/tensorflow,gunan/tensorflow,kobejean/tensorflow,alsrgv/tensorflow,adit-chandra/tensorflow,arborh/tensorflow