Filed a bug report:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      Libtorch index API perform poorly under repetitive usage 5
    

    
      
        opened 
        
          
        
        Sep 22, 2020
      
      


      
        
          
          linjiapro
        
      
    
  



  🐛 Bug
I have a Libtorch project that has some execution speed issues. I have spent half a day to debug it....