code: def _monitor_callback_wrapper(callback):
      """A wrapper for the user-defined handle."""
  
      def callback_handle(name, opr_name, array, _):
          """ctypes function"""
          callback(name, opr_name, array)
  
      return callback_handle
  
file_path: mxnet/python/mxnet/_ctypes/cached_op.py
imports: import ctypes
  from ..base import _LIB
  from ..base import c_handle_array
  from ..base import NDArrayHandle, CachedOpHandle, SymbolHandle
  from ..base import check_call
  from ..None import _global_var
  from ..ndarray._internal import NDArrayBase
  from .None import _api_internal
label_desc: Use image node_id 1 for calling a global function with example usage: _monitor_callback_wrapper(callback) and returns: callback_handle