code: def get_operation(self, method, magnitude_idx):
      magnitude = self.ranges[method][magnitude_idx]
      return lambda img: self.operations[method](img, magnitude)
  
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 2 for calling the OperationFactory obj's underlying member method code with example usage: obj.get_operation(method, magnitude_idx) and returns: function