Cannot modify net.parameters

Hi, I’m trying to make some modifications on the parameters of a model, based on the parameters of the other model:

for p, t_p in zip(net.parameters(),model_copy.parameters()):
t_p.data.add_(p*2) # for example

However, this does not work. Any help is appreciated!