code: def get_reduced_image_net_policy() -> Policy:
      """
      Creates augmentation policy tuned with the reduced ImageNet as described in
      AutoAugment paper (https://arxiv.org/abs/1805.09501).
      The returned policy can be run with
      :meth:`~nvidia.dali.auto_aug.auto_augment.apply_auto_augment`.
      """
      shear_x = a.shear_x.augmentation((0, 0.3), True)
      rotate = a.rotate.augmentation((0, 30), True)
      color = a.color.augmentation((0.1, 1.9), False, None)
      contrast = a.contrast.augmentation((0.1, 1.9), False, None)
      sharpness = a.sharpness.augmentation(
          (0.1, 1.9), False, a.sharpness_kernel_shifted
      )
      posterize = a.posterize.augmentation(
          (0, 4), False, a.poster_mask_uint8
      )
      solarize = a.solarize.augmentation((0, 256), False)
      invert = a.invert
      equalize = a.equalize
      auto_contrast = a.auto_contrast
      return Policy(
          name="ReducedImageNetPolicy",
          num_magnitude_bins=11,
          sub_policies=[
              [(posterize, 0.4, 8), (rotate, 0.6, 9)],
              [(solarize, 0.6, 5), (auto_contrast, 0.6, None)],
              [(equalize, 0.8, None), (equalize, 0.6, None)],
              [(posterize, 0.6, 7), (posterize, 0.6, 6)],
              [(equalize, 0.4, None), (solarize, 0.2, 4)],
              [(equalize, 0.4, None), (rotate, 0.8, 8)],
              [(solarize, 0.6, 3), (equalize, 0.6, None)],
              [(posterize, 0.8, 5), (equalize, 1.0, None)],
              [(rotate, 0.2, 3), (solarize, 0.6, 8)],
              [(equalize, 0.6, None), (posterize, 0.4, 6)],
              [(rotate, 0.8, 8), (color, 0.4, 0)],
              [(rotate, 0.4, 9), (equalize, 0.6, None)],
              [(equalize, 0.8, None)],
              [(invert, 0.6, None), (equalize, 1.0, None)],
              [(color, 0.6, 4), (contrast, 1.0, 8)],
              [(rotate, 0.8, 8), (color, 1.0, 2)],
              [(color, 0.8, 8), (solarize, 0.8, 7)],
              [(sharpness, 0.4, 7), (invert, 0.6, None)],
              [(shear_x, 0.6, 5), (equalize, 1.0, None)],
              [(color, 0.4, 0), (equalize, 0.6, None)],
              [(equalize, 0.4, None), (solarize, 0.2, 4)],
              [(solarize, 0.6, 5), (auto_contrast, 0.6, None)],
              [(invert, 0.6, None), (equalize, 1.0, None)],
              [(color, 0.6, 4), (contrast, 1.0, 8)],
              [(equalize, 0.8, None), (equalize, 0.6, None)],
          ],
      )
  
file_path: DALI/dali/python/nvidia/dali/auto_aug/auto_augment.py
imports: from typing import List, Optional, Tuple, Union
  from nvidia.dali import fn
  from nvidia.dali import types
  from nvidia.dali.auto_aug import augmentations
  from nvidia.dali.auto_aug.core import _Augmentation, Policy, signed_bin
  from nvidia.dali.auto_aug.core._args import forbid_unused_kwargs
  from nvidia.dali.auto_aug.core._utils import get_translations, pretty_select
  from nvidia.dali.data_node import DataNode
label_desc: Use image node_id 7 for calling a global function with example usage: get_reduced_image_net_policy() and returns: Policy