If I want to replace the model
model <- another_model
it’s easy：
model.load_state_dict(another_model.state_dict())
But how can I replace the model parameters according to a proportion?
model <- model * 0.99 + another_model * 0.01