Solved by ptrblck in post #2 
              
              
                This is expected, since the forward method was never changed. 
Even though you were adding valid modules via add_module to empty_model, they will never be used in: 
    def forward(self, x):
        return x