code: def _make_array(handle, is_view, is_container):
      global _TVM_ND_CLS
      handle = ctypes.cast(handle, TVMArrayHandle)
      if is_container:
          tindex = ctypes.c_uint()
          check_call(
              _LIB.TVMArrayGetTypeIndex(handle, ctypes.byref(tindex))
          )
          cls = _TVM_ND_CLS.get(tindex.value, _CLASS_NDARRAY)
      else:
          cls = _CLASS_NDARRAY
  
      ret = cls.__new__(cls)
      ret.handle = handle
      ret.is_view = is_view
      return ret
  
file_path: tvm/python/tvm/_ffi/_ctypes/ndarray.py
imports: import ctypes
  from ..base import _LIB, check_call, c_str
  from ..runtime_ctypes import TVMArrayHandle
  from .types import RETURN_SWITCH, C_TO_PY_ARG_SWITCH, _wrap_arg_func, _return_handle
label_desc: Use image node_id 3 for calling a global function with example usage: _make_array(handle, is_view, is_container) and returns: ret