code: def assert_export_import_match(l1, x):
      """Asserts that results from original Link and re-imported Link are close."""
  
      l2 = export_and_import(l1, (x,), True)
      inputs = {"data": x}
      outputs = [l2.layers[-1][0]]
      with chainer.using_config("train", False):
          for v1, v2 in zip(
              l1(x), l2(inputs=inputs, outputs=outputs)[0]
          ):
              testing.assert_allclose(v1.data, v2.data)
  
imports: import os
  import unittest
  import warnings
  import numpy
  import chainer
  import chainer.functions
  import chainer.links
  from chainer import testing
label_desc: Use image node_id 1 for calling a global function with example usage: assert_export_import_match(l1, x) without return types