code: def load_lib():
      """Load library, the functions will be registered into TVM"""
      curr_path = os.path.dirname(
          os.path.abspath(os.path.expanduser(__file__))
      )
      # load in as global so the global extern symbol is visible to other dll.
      lib = ctypes.CDLL(
          os.path.join(curr_path, "../../lib/libtvm_ext.so"),
          ctypes.RTLD_GLOBAL,
      )
      return lib
  
file_path: tvm/apps/extension/python/tvm_ext/__init__.py
imports: from __future__ import absolute_import
  import os
  import ctypes
  import tvm
  from tvm import te
label_desc: Use image node_id 1 for calling a global function with example usage: load_lib() and returns: lib