code: def get_random_brightness(max_delta=0.1):
      """Applies random brigthness transformations."""
  
      # A random value in [-max_delta, +max_delta] is added to the image values.
      # Small max_delta <1.0 assumes that the image values are within [0, 1].
      def _random_brightness(image):
          return tf.image.random_brightness(image, max_delta)
  
      return _random_brightness
  
imports: from typing import Optional, Tuple
  import numpy
  from scenic.dataset_lib.big_transfer.preprocessing import autoaugment
  from scenic.dataset_lib.big_transfer.preprocessing import utils
  from scenic.dataset_lib.big_transfer.registry import Registry
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_addons import image
label_desc: Use image node_id 2 for calling a global function with example usage: get_random_brightness(max_delta) and returns: _random_brightness, tf