Hi,
Given that all the modules are on the same module, you will have to work with the whole Module.
You can make a simply copy of it here by doing
new_model = AutoCanonical()
new_model.load_state_dict(current_model.state_dict())