code: def _verify_linked_param(dtype, lib, mod, graph, name):
      """Directly read memory from the linked library to verify the linked parameter is correct."""
      sid = _lookup_sid(graph, name)
      # NOTE: query_imports=True because when loading a module from disk (i.e. for C backend),
      # a GraphExecutorFactory module is created instead of the module itself.
      param_ptr = mod.get_function("_lookup_linked_param", True)(sid)
      gen_param = lib.params[name]
      arr_data = (
          _get_ctypes_dtype(dtype) * np.prod(gen_param.shape)
      ).from_address(param_ptr.value)
      arr = np.ndarray(
          shape=gen_param.shape,
          dtype=gen_param.dtype,
          buffer=arr_data,
          order="C",
      )
      if "int" in gen_param.dtype:
          np.testing.assert_equal(gen_param.numpy(), arr)
      else:
          np.testing.assert_allclose(gen_param.numpy(), arr)
      return dtype == gen_param.dtype
  
imports: import collections
  import ctypes
  import json
  import os
  import re
  from contextlib import redirect_stderr
  from io import StringIO
  import numpy
  import tvm
  import tvm.relay
  import tvm.testing
  from tvm import meta_schedule
  from tvm import relay
  from tvm.contrib import utils
  from tvm.relay.backend import Executor, Runtime
label_desc: Use image node_id 5 for calling a global function with example usage: _verify_linked_param(dtype, lib, mod, graph, name) and returns: unknown