Based on the discussion on the issue below, I am tempted think that empty tensors are not expected to function and only do so by accident, but you might check with someone who has first-hand knowledge.
Best regards
Thomas

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      zero-dimensional numpy arrays should raise exception on from_numpy 58
    

    
      
        opened 
        
          
        
        Jul 11, 2017
      
      

        
          closed 
        
          
        
        Jul 13, 2017
      
        

      
        
          
          serhii-havrylov
        
      
    
  



  It seems that the way how slicing is handled in pytorch is a little bit inconsistent with numpy and with pytorch...



    medium priority (this tag is deprecated)