Also, this link may be a help:

  
      github.com/pytorch/pytorch
  
  
    
  
    
  

  
    
      New features:  parameters to vector and vector to parameters
    

    
      pytorch:master ← zuoxingdong:patch-5
    

    
      
        opened 
        
          
        
        Sep 20, 2017
      
      

      
        
          
          zuoxingdong
        
      

      
        
          +105
          -0