code: def __init__(self, data_type):
      super().__init__(data_type)
      self._data = [
          [
              np.array([[1, 0, 2], [3, 1, 4]], dtype=self._data_type),
              np.array([[5, 0, 6], [7, 0, 8]], dtype=self._data_type),
          ],
          [
              np.array(
                  [[13, 23, 22], [23, 21, 14]], dtype=self._data_type
              ),
              np.array([[23, 3, 6], [7, 0, 20]], dtype=self._data_type),
          ],
      ]
  
imports: import nvidia.dali.fn
  from nvidia.dali.pipeline import Pipeline
  from nose.tools import nottest
  import numpy
  from test_utils import np_type_to_dali
  from nose_utils import assert_raises
label_desc: Use image node_id 1 to create a new Batch2D object from inherited base classes: Batch with example: obj = Batch2D(data_type)