code: def level_to_arg(hparams):
      return {
          "AutoContrast": lambda level: (),
          "Equalize": lambda level: (),
          "Invert": lambda level: (),
          "Rotate": _rotate_level_to_arg,
          "Posterize": lambda level: (int((level / _MAX_LEVEL) * 4),),
          "Solarize": lambda level: (int((level / _MAX_LEVEL) * 256),),
          "SolarizeAdd": lambda level: (
              int((level / _MAX_LEVEL) * 110),
          ),
          "Color": _enhance_level_to_arg,
          "Contrast": _enhance_level_to_arg,
          "Brightness": _enhance_level_to_arg,
          "Sharpness": _enhance_level_to_arg,
          "ShearX": _shear_level_to_arg,
          "ShearY": _shear_level_to_arg,
          "Cutout": lambda level: (
              int((level / _MAX_LEVEL) * hparams.cutout_const),
          ),
          # pylint:disable=g-long-lambda
          "TranslateX": lambda level: _translate_level_to_arg(
              level, hparams.translate_const
          ),
          "TranslateY": lambda level: _translate_level_to_arg(
              level, hparams.translate_const
          ),
          # pylint:enable=g-long-lambda
      }
  
imports: import dataclasses
  import inspect
  import math
  import tensorflow.compat.v1
  from tensorflow_addons import image
label_desc: Use image node_id 28 for calling a global function with example usage: level_to_arg(hparams) and returns: dict