class_docstr: A python wrapper a C++ dataset.
  
  Parameters
  ----------
  handle : DatasetHandle, required
      The handle to the underlying C++ Dataset.
class_docstr_tok: ["A","python","wrapper","a","C++","dataset",".","Parameters","--","--","--","--","--","handle",":","DatasetHandle",",","required","The","handle","to","the","underlying","C++","Dataset","."]
code: def __init__(self, handle, **kwargs):
      super(MXDataset, self).__init__()
      self.handle = handle
      self._kwargs = kwargs
      # get dataset size
      length = ctypes.c_uint64(0)
      check_call(
          _LIB.MXDatasetGetLen(self.handle, ctypes.byref(length))
      )
      self._len = length.value
  
imports: import sys
  import ctypes
  from .dataset import Dataset
  from .sampler import Sampler
  from ...base import _LIB
  from ...base import c_str_array, mx_uint, py_str
  from ...base import DatasetHandle, NDArrayHandle, BatchifyFunctionhandle
  from ...base import check_call, build_param_doc
  from ...ndarray import NDArray
  from ...ndarray import _ndarray_cls
  from ...numpy.multiarray import _np_ndarray_cls
  from ...util import is_np_array, default_array
  from ...io import io
label_desc: Use image node_id 1 to create a new MXDataset object from inherited base classes: Dataset with example: obj = MXDataset(handle)