code: def synchronize_parameters(src, dst, method, tau=None):
      {
          "hard": lambda: copy_param(dst, src),
          "soft": lambda: soft_copy_param(dst, src, tau),
      }[method]()
  
imports: from chainer import links
label_desc: Use image node_id 4 for calling a global function with example usage: synchronize_parameters(src, dst, method, tau) without return types