code: def _init_internal_api():
      for name in list_global_func_names():
          if not name.startswith("_") or name.startswith("_deprecate"):
              # normal APIs are ignored
              continue
          target_module = sys.modules["dgl._api_internal"]
          fname = name
          if fname.find(".") != -1:
              print('Warning: invalid API name "%s".' % fname)
              continue
          f = get_global_func(name)
          ff = _get_api(f)
          ff.__name__ = fname
          ff.__doc__ = "DGL PackedFunc %s. " % fname
          setattr(target_module, ff.__name__, ff)
  
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 8 for calling a global function with example usage: _init_internal_api() without return types