I’d seen this in the implementation of Baysian CNN with MC Dropout herehere 2
Could anyone tel me what is for please?
def update_target(target, original, update_rate):
for target_param, param in zip(target.parameters(), original.parameters()):
target_param.data.copy_((1.0 - update_rate) * target_param.data +
update_rate*param.data)