code: def __init__(
      self,
      data_pack: mz.DataPack,
      fixed_length_left: int,
      fixed_length_right: int,
      compress_ratio_left: float = 1,
      compress_ratio_right: float = 1,
      batch_size: int = 32,
      shuffle: bool = True,
  ):
      super().__init__(
          data_pack=data_pack,
          shuffle=shuffle,
          batch_size=batch_size,
          callbacks=[
              mz.data_generator.callbacks.DynamicPooling(
                  fixed_length_left=fixed_length_left,
                  fixed_length_right=fixed_length_right,
                  compress_ratio_left=compress_ratio_left,
                  compress_ratio_right=compress_ratio_right,
              )
          ],
      )
      print_deprecation_warning(self)
  
imports: import numpy
  import matchzoo
label_desc: Use image node_id 1 to create a new DPoolDataGenerator object from inherited base classes: mz with example: obj = DPoolDataGenerator(data_pack, fixed_length_left, fixed_length_right, compress_ratio_left, compress_ratio_right, batch_size, shuffle)