code: def __init__(
      self,
      data_pack: mz.DataPack,
      num_dup: int = 1,
      num_neg: int = 1,
      batch_size: int = 32,
      shuffle: bool = True,
  ):
      super().__init__(
          data_pack=data_pack,
          mode="pair",
          num_dup=num_dup,
          num_neg=num_neg,
          batch_size=batch_size,
          shuffle=shuffle,
      )
      print_deprecation_warning(self)
  
imports: import numpy
  import matchzoo
label_desc: Use image node_id 1 to create a new PairDataGenerator object from inherited base classes: mz with example: obj = PairDataGenerator(data_pack, num_dup, num_neg, batch_size, shuffle)