code: def add_data_aug_args(parser):
      aug = parser.add_argument_group(
          "Image augmentations",
          "implemented in src/io/image_aug_default.cc",
      )
      aug.add_argument(
          "--random-crop",
          type=int,
          default=1,
          help="if or not randomly crop the image",
      )
      aug.add_argument(
          "--random-mirror",
          type=int,
          default=1,
          help="if or not randomly flip horizontally",
      )
      aug.add_argument(
          "--max-random-h",
          type=int,
          default=0,
          help="max change of hue, whose range is [0, 180]",
      )
      aug.add_argument(
          "--max-random-s",
          type=int,
          default=0,
          help="max change of saturation, whose range is [0, 255]",
      )
      aug.add_argument(
          "--max-random-l",
          type=int,
          default=0,
          help="max change of intensity, whose range is [0, 255]",
      )
      aug.add_argument(
          "--max-random-aspect-ratio",
          type=float,
          default=0,
          help="max change of aspect ratio, whose range is [0, 1]",
      )
      aug.add_argument(
          "--max-random-rotate-angle",
          type=int,
          default=0,
          help="max angle to rotate, whose range is [0, 360]",
      )
      aug.add_argument(
          "--max-random-shear-ratio",
          type=float,
          default=0,
          help="max ratio to shear, whose range is [0, 1]",
      )
      aug.add_argument(
          "--max-random-scale",
          type=float,
          default=1,
          help="max ratio to scale",
      )
      aug.add_argument(
          "--min-random-scale",
          type=float,
          default=1,
          help="min ratio to scale, should >= img_size/input_shape. otherwise use --pad-size",
      )
      return aug
  
file_path: DALI/docs/examples/use_cases/mxnet/resnetn/common/data.py
imports: import mxnet
  import random
  from mxnet.io import DataBatch, DataIter
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: add_data_aug_args(parser) and returns: aug