code: def copy_params(src_model, dest_model):
      src_params = list(src_model.parameters())
      dest_params = list(dest_model.parameters())
  
      # antialiasing shouldn't change number of parameters, so these lists should be identical
      assert len(src_params) == len(dest_params)
      with torch.no_grad():
          for params in zip(src_params, dest_params):
              params[1][...] = params[0][...]
  
imports: import torch
label_desc: Use image node_id 1 for calling a global function with example usage: copy_params(src_model, dest_model) without return types