class_docstr: Describes the batch requested from :meth:`nvidia.dali.fn.external_source`
  
  :ivar iteration:    number of current batch within epoch
  :ivar epoch_idx:    number of current epoch
class_docstr_tok: ["Describes","the","batch","requested","from",":","meth",":","`","nvidia.dali.fn.external_source","`",":","ivar","iteration",":","number","of","current","batch","within","epoch",":","ivar","epoch_idx",":","number","of","current","epoch"]
code: def __init__(self, iteration, epoch_idx):
      self.iteration = iteration
      self.epoch_idx = epoch_idx
  
imports: from enum import Enum, unique
  import re
  from nvidia.dali._backend_enums import DALIDataType, DALIImageType, DALIInterpType
  from nvidia.dali.backend_impl.types import *
label_desc: Use image node_id 1 to create a new BatchInfo object  with example: obj = BatchInfo(iteration, epoch_idx)