this should shortly be fixed in master. (thanks @griffinliang for the proposed fix, it was correct).

  
      github.com/pytorch/pytorch
  
  
    
  
    
  

  
    
      fix incorrect grad_weight in Bilinear 17
    

    
      pytorch:master ← pytorch:bilinearfix
    

    
      
        opened 
        
          
        
        Jun 6, 2017
      
      

      
        
          
          soumith
        
      

      
        
          +20
          -12