Let’s say I have 2 instances of the same nn.Module architecture:
actor1 = ActorNN()
actor2 = ActorNN()
where ActorNN defined as:
Now, let’s say that I want to replace all weights and biases of actor2 with the weights and biases of actor1.
How can this be done easily?