Solved by albanD in post #2 
              
              
                Hi, 
Both clone and detach are constructs on Tensors, not nn.Modules. 
If you want to make an independent copy of a model, you can use the regular python deepcopy.