code: def _assert_same_pointers_to_persistent_values(a, b):
      assert isinstance(a, chainer.Link)
      assert isinstance(b, chainer.Link)
      a_persistents = dict(chainerrl.misc.namedpersistent(a))
      b_persistents = dict(chainerrl.misc.namedpersistent(b))
      assert set(a_persistents.keys()) == set(b_persistents.keys())
      for key in a_persistents:
          a_persistent = a_persistents[key]
          b_persistent = b_persistents[key]
          assert isinstance(a_persistent, np.ndarray)
          assert isinstance(b_persistent, np.ndarray)
          assert a_persistent.ctypes.data == b_persistent.ctypes.data
  
imports: import multiprocessing
  import os
  import signal
  import sys
  import unittest
  import warnings
  import chainer
  import chainer.links
  from chainer import optimizers
  import copy
  import numpy
  import chainerrl
  from chainerrl.misc import async_
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_same_pointers_to_persistent_values(a, b) without return types