code: def test_copy_param(self):
      a = L.Linear(1, 5)
      b = L.Linear(1, 5)
  
      s = chainer.Variable(np.random.rand(1, 1).astype(np.float32))
      a_out = list(a(s).array.ravel())
      b_out = list(b(s).array.ravel())
      self.assertNotEqual(a_out, b_out)
  
      # Copy b's parameters to a
      copy_param.copy_param(a, b)
  
      a_out_new = list(a(s).array.ravel())
      b_out_new = list(b(s).array.ravel())
      self.assertEqual(a_out_new, b_out)
      self.assertEqual(b_out_new, b_out)
  
file_path: chainerrl/tests/misc_tests/test_copy_param.py
imports: import unittest
  import chainer
  from chainer import functions
  from chainer import links
  import numpy
  from chainerrl.misc import copy_param
label_desc: Use image node_id 1 for calling the TestCopyParam obj's underlying member method code with example usage: obj.test_copy_param() without return types