code: def _posterize_original_level_to_arg(level, _hparams):
      # As per original AutoAugment paper description
      # range [4, 8], 'keep 4 up to 8 MSB of image'
      # intensity/severity of augmentation decreases with level
      return (int((level / _MAX_LEVEL) * 4) + 4,)
  
imports: import math
  import random
  import re
  import numpy
  import PIL
  from classy_vision.dataset.transforms import register_transform
  from classy_vision.dataset.transforms.classy_transform import ClassyTransform
  from PIL import Image, ImageEnhance, ImageOps
label_desc: Use image node_id 29 for calling a global function with example usage: _posterize_original_level_to_arg(level, _hparams) and returns: unknown