code: def _load_lib():
      """Load library by searching possible path."""
      lib_path = libinfo.find_lib_path()
      try:
          if sys.version_info >= (3, 8) and os.name == "nt":
              # use LOAD_WITH_ALTERED_SEARCH_PATH, For simplicity, let's just fill the numbers.
              # pylint: disable=E1123
              lib = ctypes.CDLL(lib_path[0], winmode=0x00000008)
          else:
              lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
          # DMatrix functions
          lib.MXGetLastError.restype = ctypes.c_char_p
      except OSError as e:
          if "libcudnn" in e.args[0]:
              e.args = (
                  e.args[0]
                  + "\nNotes: Starting from version 1.8.0, cuDNN and NCCL should be installed by users in advance. \
                        \nPlease follow the instructions in https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html to install cuDNN.",
              )
              raise OSError(e) from None
          if "libnccl" in e.args[0]:
              e.args = (
                  e.args[0]
                  + "\nNotes: Starting from version 1.8.0, cuDNN and NCCL should be installed by users in advance. \
                        \nPlease follow the instructions in https://docs.nvidia.com/deeplearning/nccl/install-guide/index.html to install NCCL.",
              )
              raise OSError(e) from None
          if "libquadmath" in e.args[0]:
              e.args = (
                  e.args[0]
                  + "\nNotes: As libquadmath.so.0 is a GPL library and MXNet part of the Apache Software Foundation, \
                        \nMXNet must not redistribute libquadmath.so.0 as part of the Pypi package and users must manually install it. \
                        \nOn Debian based systems, including Ubuntu, run sudo apt install libquadmath0 to install the shared library. \
                        \nOn RHEL based systems, including CentOS, run sudo yum install libquadmath to install the shared library. "
              )
              raise OSError(e) from None
          raise
      else:
          return lib
  
imports: import re
  import atexit
  import ctypes
  import os
  import sys
  import inspect
  import platform
  import numpy
  from .None import libinfo
label_desc: Use image node_id 9 for calling a global function with example usage: _load_lib() and returns: lib