Removing the _SHOULD_RECORD_SUMMARIES_NAME and _SUMMARY_WRITER_INIT_COLLECTION_NAME collections from the summaryV2 implementation. Replacing them with global variables.
Removing the _SHOULD_RECORD_SUMMARIES_NAME and
_SUMMARY_WRITER_INIT_COLLECTION_NAME collections from the summaryV2
implementation. Replacing them with global variables.

PiperOrigin-RevId: 216383152

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