code: def __init__(
      self, p1, method1, magnitude_idx1, p2, method2, magnitude_idx2
  ):
      operation_factory = OperationFactory()
      self.p1 = p1
      self.p2 = p2
      self.operation1 = operation_factory.get_operation(
          method1, magnitude_idx1
      )
      self.operation2 = operation_factory.get_operation(
          method2, magnitude_idx2
      )
  
file_path: DALI/docs/examples/use_cases/pytorch/efficientnet/image_classification/autoaugment.py
imports: from PIL import Image, ImageEnhance, ImageOps
  import numpy
  import random
label_desc: Use image node_id 1 to create a new SubPolicy object from inherited base classes: object with example: obj = SubPolicy(p1, method1, magnitude_idx1, p2, method2, magnitude_idx2)