By creating a snapshot I mean create a clone of the parameters. For instance, how to clone the parameters of A into B so A and B have the same parameters which can be updated independently?
UPD: It seems that one way to achieve this is to manually call
set_data for every parameter in the
ParameterDict of the
Block. Another possible choice is to use the
update method of the