class_docstr: Base class with methods shared by both DALIGenericIterator and DALIGluonIterator.
class_docstr_tok: ["Base","class","with","methods","shared","by","both","DALIGenericIterator","and","DALIGluonIterator","."]
code: def __init__(
      self,
      pipelines,
      size=-1,
      reader_name=None,
      fill_last_batch=None,
      last_batch_padded=False,
      auto_reset=False,
      last_batch_policy=LastBatchPolicy.FILL,
      prepare_first_batch=True,
  ):
      _DaliBaseIterator.__init__(
          self,
          pipelines,
          size,
          reader_name,
          auto_reset,
          fill_last_batch,
          last_batch_padded,
          last_batch_policy,
          prepare_first_batch=prepare_first_batch,
      )
  
imports: from nvidia.dali.backend import TensorGPU, TensorListGPU
  from nvidia.dali import types
  from nvidia.dali.plugin.base_iterator import _DaliBaseIterator
  from nvidia.dali.plugin.base_iterator import LastBatchPolicy
  import mxnet
  import ctypes
  import numpy
  from collections.abc import Iterable
label_desc: Use image node_id 1 to create a new _DALIMXNetIteratorBase object from inherited base classes: mx.io, _DaliBaseIterator with example: obj = _DALIMXNetIteratorBase(pipelines, size, reader_name, fill_last_batch, last_batch_padded, auto_reset, last_batch_policy, prepare_first_batch)