Increfing tapes when keeping them around calls to python API functions.
Increfing tapes when keeping them around calls to python API functions.

These calls can trigger GIL releases or python GC which can trigger
a change to the set of live tapes and segmentation faults.

PiperOrigin-RevId: 184029146

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