I made a pull request here:

  
      github.com/pytorch/pytorch
  
  
    
  
    
  

  
    
      Enable specifying of margin in HingeEmbeddingLoss 21
    

    
      pytorch:master ← macaodha:patch-1
    

    
      
        opened 
        
          
        
        Apr 27, 2017
      
      

      
        
          
          macaodha
        
      

      
        
          +9
          -1
        
      
    

  


  
  
    
    
  
  


Thanks