Convert a local variable and mutex to a struct so GUARDED_BY annotation works correctly.
Convert a local variable and mutex to a struct so GUARDED_BY annotation works correctly.

PiperOrigin-RevId: 193584438

gojira/tensorflow,nburn42/tensorflow,dendisuhubdy/tensorflow,petewarden/tensorflow,theflofly/tensorflow,apark263/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow,gojira/tensorflow,hfp/tensorflow-xsmm,jalexvig/tensorflow,yongtang/tensorflow,manipopopo/tensorflow,apark263/tensorflow,davidzchen/tensorflow,AnishShah/tensorflow,hfp/tensorflow-xsmm,apark263/tensorflow,benoitsteiner/tensorflow-xsmm,chemelnucfin/tensorflow,gunan/tensorflow,aldian/tensorflow,xodus7/tensorflow,alshedivat/tensorflow,ghchinoy/tensorflow,yanchen036/tensorflow,aam-at/tensorflow,ghchinoy/tensorflow,girving/tensorflow,alsrgv/tensorflow,ZhangXinNan/tensorflow,aselle/tensorflow,gunan/tensorflow,yanchen036/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,yongtang/tensorflow,petewarden/tensorflow,jendap/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,jart/tensorflow,kobejean/tensorflow,ageron/tensorflow,snnn/tensorflow,alshedivat/tensorflow,lukeiwanski/tensorflow,jalexvig/tensorflow,alsrgv/tensorflow,jbedorf/tensorflow,asimshankar/tensorflow,annarev/tensorflow,arborh/tensorflow,AnishShah/tensorflow,hehongliang/tensorflow,aam-at/tensorflow,chemelnucfin/tensorflow,ZhangXinNan/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,dongjoon-hyun/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,freedomtan/tensorflow,kobejean/tensorflow,dancingdan/tensorflow,dendisuhubdy/tensorflow,lukeiwanski/tensorflow,Intel-tensorflow/tensorflow,AnishShah/tensorflow,sarvex/tensorflow,xzturn/tensorflow,arborh/tensorflow,gautam1858/tensorflow,caisq/tensorflow,dongjoon-hyun/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,gautam1858/tensorflow,jendap/tensorflow,xodus7/tensorflow,jbedorf/tensorflow,manipopopo/tensorflow,meteorcloudy/tensorflow,girving/tensorflow,xzturn/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,dongjoon-hyun/tensorflow,caisq/tensorflow,aldian/tensorflow,annarev/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,jbedorf/tensorflow,meteorcloudy/tensorflow,xodus7/tensorflow,xodus7/tensorflow,brchiu/tensorflow,annarev/tensorflow,manipopopo/tensorflow,davidzchen/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Bismarrck/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jalexvig/tensorflow,cxxgtxy/tensorflow,girving/tensorflow,petewarden/tensorflow,alsrgv/tensorflow,jart/tensorflow,arborh/tensorflow,hehongliang/tensorflow,freedomtan/tensorflow,asimshankar/tensorflow,Intel-Corporation/tensorflow,caisq/tensorflow,petewarden/tensorflow,dendisuhubdy/tensorflow,meteorcloudy/tensorflow,renyi533/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow,dancingdan/tensorflow,theflofly/tensorflow,meteorcloudy/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,apark263/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aselle/tensorflow,girving/tensorflow,ppwwyyxx/tensorflow,apark263/tensorflow,xzturn/tensorflow,annarev/tensorflow,aselle/tensorflow,ageron/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,benoitsteiner/tensorflow-xsmm,manipopopo/tensorflow,hehongliang/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,gojira/tensorflow,Bismarrck/tensorflow,lukeiwanski/tensorflow,paolodedios/tensorflow,gunan/tensorflow,arborh/tensorflow,tensorflow/tensorflow,xodus7/tensorflow,theflofly/tensorflow,yanchen036/tensorflow,apark263/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aselle/tensorflow,sarvex/tensorflow,chemelnucfin/tensorflow,Bismarrck/tensorflow,benoitsteiner/tensorflow-xsmm,AnishShah/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,dancingdan/tensorflow,asimshankar/tensorflow,paolodedios/tensorflow,nburn42/tensorflow,xodus7/tensorflow,frreiss/tensorflow-fred,girving/tensorflow,kevin-coder/tensorflow-fork,theflofly/tensorflow,aldian/tensorflow,seanli9jan/tensorflow,lukeiwanski/tensorflow,ageron/tensorflow,frreiss/tensorflow-fred,kobejean/tensorflow,frreiss/tensorflow-fred,jbedorf/tensorflow,ageron/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,lukeiwanski/tensorflow,dancingdan/tensorflow,aam-at/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,freedomtan/tensorflow,ZhangXinNan/tensorflow,alsrgv/tensorflow,brchiu/tensorflow,chemelnucfin/tensorflow,yanchen036/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_saved_model,manipopopo/tensorflow,arborh/tensorflow,karllessard/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,benoitsteiner/tensorflow-xsmm,gautam1858/tensorflow,DavidNorman/tensorflow,lukeiwanski/tensorflow,jendap/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xodus7/tensorflow,manipopopo/tensorflow,snnn/tensorflow,jhseu/tensorflow,xzturn/tensorflow,AnishShah/tensorflow,gojira/tensorflow,nburn42/tensorflow,benoitsteiner/tensorflow-xsmm,AnishShah/tensorflow,snnn/tensorflow,jhseu/tensorflow,petewarden/tensorflow,jendap/tensorflow,brchiu/tensorflow,tensorflow/tensorflow,karllessard/tensorflow,girving/tensorflow,caisq/tensorflow,dancingdan/tensorflow,xodus7/tensorflow,meteorcloudy/tensorflow,kevin-coder/tensorflow-fork,ZhangXinNan/tensorflow,caisq/tensorflow,yanchen036/tensorflow,theflofly/tensorflow,manipopopo/tensorflow,annarev/tensorflow,freedomtan/tensorflow,benoitsteiner/tensorflow-xsmm,tensorflow/tensorflow-pywrap_saved_model,caisq/tensorflow,brchiu/tensorflow,Intel-tensorflow/tensorflow,manipopopo/tensorflow,aldian/tensorflow,theflofly/tensorflow,jart/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,lukeiwanski/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,gojira/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,brchiu/tensorflow,jbedorf/tensorflow,dongjoon-hyun/tensorflow,AnishShah/tensorflow,seanli9jan/tensorflow,jendap/tensorflow,dendisuhubdy/tensorflow,hfp/tensorflow-xsmm,ghchinoy/tensorflow,xzturn/tensorflow,kobejean/tensorflow,ppwwyyxx/tensorflow,asimshankar/tensorflow,aselle/tensorflow,adit-chandra/tensorflow,ZhangXinNan/tensorflow,yanchen036/tensorflow,lukeiwanski/tensorflow,kevin-coder/tensorflow-fork,gojira/tensorflow,yanchen036/tensorflow,kevin-coder/tensorflow-fork,jbedorf/tensorflow,nburn42/tensorflow,DavidNorman/tensorflow,drpngx/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,ZhangXinNan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,dongjoon-hyun/tensorflow,ZhangXinNan/tensorflow,paolodedios/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,meteorcloudy/tensorflow,nburn42/tensorflow,girving/tensorflow,dancingdan/tensorflow,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,aam-at/tensorflow,brchiu/tensorflow,aselle/tensorflow,Bismarrck/tensorflow,dancingdan/tensorflow,aselle/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,xzturn/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,snnn/tensorflow,xodus7/tensorflow,jbedorf/tensorflow,seanli9jan/tensorflow,jart/tensorflow,chemelnucfin/tensorflow,jbedorf/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,annarev/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,renyi533/tensorflow,jhseu/tensorflow,ageron/tensorflow,alsrgv/tensorflow,arborh/tensorflow,kobejean/tensorflow,benoitsteiner/tensorflow-xsmm,meteorcloudy/tensorflow,DavidNorman/tensorflow,drpngx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,apark263/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,girving/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kobejean/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,adit-chandra/tensorflow,ageron/tensorflow,Intel-Corporation/tensorflow,jhseu/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,dongjoon-hyun/tensorflow,sarvex/tensorflow,jart/tensorflow,ppwwyyxx/tensorflow,jart/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,dongjoon-hyun/tensorflow,AnishShah/tensorflow,ageron/tensorflow,nburn42/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,ageron/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,alshedivat/tensorflow,caisq/tensorflow,sarvex/tensorflow,hfp/tensorflow-xsmm,dendisuhubdy/tensorflow,xzturn/tensorflow,arborh/tensorflow,ghchinoy/tensorflow,arborh/tensorflow,jart/tensorflow,jhseu/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,hfp/tensorflow-xsmm,brchiu/tensorflow,drpngx/tensorflow,seanli9jan/tensorflow,Bismarrck/tensorflow,adit-chandra/tensorflow,seanli9jan/tensorflow,gautam1858/tensorflow,girving/tensorflow,aam-at/tensorflow,annarev/tensorflow,jhseu/tensorflow,theflofly/tensorflow,petewarden/tensorflow,aselle/tensorflow,jalexvig/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,apark263/tensorflow,chemelnucfin/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,aldian/tensorflow,arborh/tensorflow,freedomtan/tensorflow,alshedivat/tensorflow,sarvex/tensorflow,gojira/tensorflow,manipopopo/tensorflow,jalexvig/tensorflow,dendisuhubdy/tensorflow,annarev/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,arborh/tensorflow,jart/tensorflow,freedomtan/tensorflow,aselle/tensorflow,benoitsteiner/tensorflow-xsmm,karllessard/tensorflow,davidzchen/tensorflow,aselle/tensorflow,petewarden/tensorflow,yongtang/tensorflow,brchiu/tensorflow,DavidNorman/tensorflow,davidzchen/tensorflow,snnn/tensorflow,gojira/tensorflow,jbedorf/tensorflow,jendap/tensorflow,paolodedios/tensorflow,dendisuhubdy/tensorflow,ghchinoy/tensorflow,meteorcloudy/tensorflow,nburn42/tensorflow,dancingdan/tensorflow,girving/tensorflow,kobejean/tensorflow,jalexvig/tensorflow,snnn/tensorflow,alsrgv/tensorflow,jart/tensorflow,ageron/tensorflow,nburn42/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,dongjoon-hyun/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kobejean/tensorflow,gunan/tensorflow,brchiu/tensorflow,davidzchen/tensorflow,drpngx/tensorflow,jendap/tensorflow,seanli9jan/tensorflow,dendisuhubdy/tensorflow,aam-at/tensorflow,jhseu/tensorflow,nburn42/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,seanli9jan/tensorflow,renyi533/tensorflow,jalexvig/tensorflow,Intel-tensorflow/tensorflow,dongjoon-hyun/tensorflow,gojira/tensorflow,Bismarrck/tensorflow,AnishShah/tensorflow,caisq/tensorflow,ageron/tensorflow,jendap/tensorflow,seanli9jan/tensorflow,renyi533/tensorflow,dendisuhubdy/tensorflow,asimshankar/tensorflow,alsrgv/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aam-at/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,Bismarrck/tensorflow,meteorcloudy/tensorflow,nburn42/tensorflow,nburn42/tensorflow,jendap/tensorflow,annarev/tensorflow,karllessard/tensorflow,alshedivat/tensorflow,theflofly/tensorflow,meteorcloudy/tensorflow,Intel-Corporation/tensorflow,hfp/tensorflow-xsmm,jendap/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,davidzchen/tensorflow,gunan/tensorflow,alsrgv/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,adit-chandra/tensorflow,Bismarrck/tensorflow,snnn/tensorflow,drpngx/tensorflow,manipopopo/tensorflow,AnishShah/tensorflow,girving/tensorflow,gojira/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,gojira/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,apark263/tensorflow,adit-chandra/tensorflow,drpngx/tensorflow,asimshankar/tensorflow,freedomtan/tensorflow,ZhangXinNan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,hfp/tensorflow-xsmm,kobejean/tensorflow,karllessard/tensorflow,Intel-tensorflow/tensorflow,drpngx/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,drpngx/tensorflow,drpngx/tensorflow,renyi533/tensorflow,theflofly/tensorflow,dancingdan/tensorflow,sarvex/tensorflow,aam-at/tensorflow,ageron/tensorflow,hehongliang/tensorflow,annarev/tensorflow,dancingdan/tensorflow,alsrgv/tensorflow,jart/tensorflow,manipopopo/tensorflow,seanli9jan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,seanli9jan/tensorflow,tensorflow/tensorflow,benoitsteiner/tensorflow-xsmm,ghchinoy/tensorflow,karllessard/tensorflow,AnishShah/tensorflow,kevin-coder/tensorflow-fork,frreiss/tensorflow-fred,adit-chandra/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,hfp/tensorflow-xsmm,hehongliang/tensorflow,caisq/tensorflow,renyi533/tensorflow,apark263/tensorflow,kobejean/tensorflow,dancingdan/tensorflow,karllessard/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,theflofly/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,ageron/tensorflow,xodus7/tensorflow,hfp/tensorflow-xsmm,yanchen036/tensorflow,brchiu/tensorflow,ghchinoy/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,snnn/tensorflow,dendisuhubdy/tensorflow,jhseu/tensorflow,gunan/tensorflow,aldian/tensorflow,yongtang/tensorflow,chemelnucfin/tensorflow,kevin-coder/tensorflow-fork,frreiss/tensorflow-fred,alshedivat/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,alshedivat/tensorflow,DavidNorman/tensorflow,chemelnucfin/tensorflow,yongtang/tensorflow,snnn/tensorflow,arborh/tensorflow,karllessard/tensorflow,lukeiwanski/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,alshedivat/tensorflow,xzturn/tensorflow,aam-at/tensorflow,hfp/tensorflow-xsmm,dongjoon-hyun/tensorflow,gautam1858/tensorflow,apark263/tensorflow,benoitsteiner/tensorflow-xsmm,frreiss/tensorflow-fred,asimshankar/tensorflow,Bismarrck/tensorflow,hehongliang/tensorflow,xodus7/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,cxxgtxy/tensorflow,kobejean/tensorflow,aselle/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,alshedivat/tensorflow,benoitsteiner/tensorflow-xsmm,snnn/tensorflow,chemelnucfin/tensorflow,drpngx/tensorflow,arborh/tensorflow,jalexvig/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,caisq/tensorflow,asimshankar/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,hehongliang/tensorflow,cxxgtxy/tensorflow,alsrgv/tensorflow,xzturn/tensorflow,ZhangXinNan/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,lukeiwanski/tensorflow,dongjoon-hyun/tensorflow,ppwwyyxx/tensorflow,snnn/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,jalexvig/tensorflow,asimshankar/tensorflow,adit-chandra/tensorflow,ZhangXinNan/tensorflow,jalexvig/tensorflow,ZhangXinNan/tensorflow