code: def _rotate_level_to_arg(level, _hparams):
      # range [-30, 30]
      level = (level / _MAX_LEVEL) * 30.0
      level = _randomly_negate(level)
      return (level,)
  
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 21 for calling a global function with example usage: _rotate_level_to_arg(level, _hparams) and returns: level