code: def _dlpack_deleter(pycapsule):
      pycapsule = ctypes.c_void_p(pycapsule)
      if ctypes.pythonapi.PyCapsule_IsValid(pycapsule, _c_str_dltensor):
          ptr = ctypes.c_void_p(
              ctypes.pythonapi.PyCapsule_GetPointer(
                  pycapsule, _c_str_dltensor
              )
          )
          check_call(_LIB.MXNDArrayCallDLPackDeleter(ptr))
  
file_path: mxnet/python/mxnet/dlpack.py
imports: import ctypes
  import enum
  from mxnet.device import current_device
  from .base import _LIB, c_str, check_call, NDArrayHandle, mx_int
label_desc: Use image node_id 1 for calling a global function with example usage: _dlpack_deleter(pycapsule) without return types