Hey thanks for the report / repro! This is an issue that’s been open for a while, we’re planning to fix it soon

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      ScriptModule and nn.Module parameter ordering difference 7
    

    
      
        opened 
        
          
        
        Aug 22, 2019
      
      


      
        
          
          wanchaol
        
      
    
  



  class eagerNet(nn.Module):
 def __init__(self):
 super(eagerNet, self).__init__()
 self.conv1 = nn.Conv2d(1, 10, kernel_size=5)
 self.conv2 = nn.Conv2d(10, 20, kernel_size=5)
 self.fc1 = nn.Linear(320, 50)
 self.fc2...



    jit
    jit-backlog