code: def __init__(self, x_set, y_set, batch_size):
      self.x, self.y = x_set, y_set
      self.batch_size = batch_size
  
imports: from tensorflow.keras.utils import Sequence
label_desc: Use image node_id 1 to create a new SequenceGenerator object from inherited base classes: Sequence with example: obj = SequenceGenerator(x_set, y_set, batch_size)