code: def _init_api_prefix(module_name, prefix):
      module = sys.modules[module_name]
      name_list = []
  
      for name in list_global_func_names():
          if name.startswith("_") and not name.startswith("_deprecate"):
              # internal APIs are ignored
              continue
          name_split = name.rsplit(".", 1)
          if name_split[0] != prefix:
              continue
  
          if len(name_split) == 1:
              print('Warning: invalid API name "%s".' % name)
              continue
          fname = name_split[1]
          target_module = module
  
          f = get_global_func(name)
          ff = _get_api(f)
          ff.__name__ = fname
          ff.__doc__ = "DGL PackedFunc %s. " % fname
          setattr(target_module, ff.__name__, ff)
          name_list.append(fname)
  
      return name_list
  
imports: from __future__ import absolute_import
  import ctypes
  import sys
  from .base import _FFI_MODE, _LIB, c_str, check_call, py_str, string_types
label_desc: Use image node_id 7 for calling a global function with example usage: _init_api_prefix(module_name, prefix) and returns: name_list