Hello @geirrastad,
I created a PR which should fix this issue:

  
      github.com/pytorch/pytorch
  
  
    
  
    
  

  
    
      Added missing namespaces for C++ API 97
    

    
      pytorch:master ← QueensGambit:c++_api
    

    
      
        opened 
        
          
        
        Oct 2, 2020
      
      

      
        
          
          QueensGambit
        
      

      
        
          +9
          -9
        
      
    

  


  
  
    
    
  
  


Best,
Johannes