class_docstr: We add the cut-and-paste parameters to the mini-batch within the collate function,
  (we pass it as the `batch_aug_fn` parameter to the `SegCollate` constructor)
  as the collate function pads all samples to a common size
code: def __init__(self, mask_gen):
      self.mask_gen = mask_gen
  
file_path: PaddleSeg/contrib/CrossPseudoSupervision/batch_transforms/mask_gen.py
imports: import numpy
  from cvlibs import manager
label_desc: Use image node_id 1 to create a new AddMaskParamsToBatch object from inherited base classes: object with example: obj = AddMaskParamsToBatch(mask_gen)