code: def __init__(
      self,
      corpus: CorpusGenerator,
      *,
      text_processor: "ABCProcessor",
      label_processor: "ABCProcessor",
      seq_length: int = None,
      max_position: int = None,
      segment: bool = False,
      batch_size: int = 64,
  ) -> None:
      self.corpus = corpus
      self.text_processor = text_processor
      self.label_processor = label_processor
  
      self.seq_length = seq_length
      self.max_position = max_position
      self.segment = segment
  
      self.batch_size = batch_size
  
imports: from abc import ABC
  from typing import Iterable, Iterator, TYPE_CHECKING
  from typing import List, Any, Tuple
  import numpy
  import tensorflow
label_desc: Use image node_id 1 to create a new BatchDataSet object from inherited base classes: Iterable with example: obj = BatchDataSet(corpus)