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=0,
          help="if or not randomly crop the image",
      )
      aug.add_argument(
          "--random-mirror",
          type=int,
          default=0,
          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(
          "--min-random-aspect-ratio",
          type=float,
          default=None,
          help="min value of aspect ratio, whose value is either None or a positive value.",
      )
      aug.add_argument(
          "--max-random-aspect-ratio",
          type=float,
          default=0,
          help="max value of aspect ratio. If min_random_aspect_ratio is None, "
          "the aspect ratio range is [1-max_random_aspect_ratio, "
          "1+max_random_aspect_ratio], otherwise it is "
          "[min_random_aspect_ratio, max_random_aspect_ratio].",
      )
      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",
      )
      aug.add_argument(
          "--max-random-area",
          type=float,
          default=1,
          help="max area to crop in random resized crop, whose range is [0, 1]",
      )
      aug.add_argument(
          "--min-random-area",
          type=float,
          default=1,
          help="min area to crop in random resized crop, whose range is [0, 1]",
      )
      aug.add_argument(
          "--min-crop-size",
          type=int,
          default=-1,
          help="Crop both width and height into a random size in "
          "[min_crop_size, max_crop_size]",
      )
      aug.add_argument(
          "--max-crop-size",
          type=int,
          default=-1,
          help="Crop both width and height into a random size in "
          "[min_crop_size, max_crop_size]",
      )
      aug.add_argument(
          "--brightness",
          type=float,
          default=0,
          help="brightness jittering, whose range is [0, 1]",
      )
      aug.add_argument(
          "--contrast",
          type=float,
          default=0,
          help="contrast jittering, whose range is [0, 1]",
      )
      aug.add_argument(
          "--saturation",
          type=float,
          default=0,
          help="saturation jittering, whose range is [0, 1]",
      )
      aug.add_argument(
          "--pca-noise",
          type=float,
          default=0,
          help="pca noise, whose range is [0, 1]",
      )
      aug.add_argument(
          "--random-resized-crop",
          type=int,
          default=0,
          help="whether to use random resized crop",
      )
      return aug
  
file_path: byteps/example/mxnet/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