code: def _translate_rel_level_to_arg(level, hparams):
      # default range [-0.45, 0.45]
      translate_pct = hparams.get("translate_pct", 0.45)
      level = (level / _MAX_LEVEL) * translate_pct
      level = _randomly_negate(level)
      return (level,)
  
imports: import math
  import numpy
  import random
  import re
  import PIL
  from PIL import Image, ImageEnhance, ImageOps
label_desc: Use image node_id 26 for calling a global function with example usage: _translate_rel_level_to_arg(level, hparams) and returns: level