Use tf_stack instead of tf_inspect to get file and lineno in deprecation.py
Use tf_stack instead of tf_inspect to get file and lineno in deprecation.py

This is a no-op change, that prevents deprecation warnings triggering large numbers of posix.stat calls.

In a test application, this prevents 64150 calls to lstat and 1499 calls to stat.

PiperOrigin-RevId: 223266120

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