code: def get_random_contrast(lower=0.5, upper=2.0):
      """Applies random contrast transformations."""
  
      # Stretches/shrinks value stddev (per channel) by multiplying with a random
      # value in [lower, upper].
      def _random_contrast(image):
          return tf.image.random_contrast(
              image, lower=lower, upper=upper
          )
  
      return _random_contrast
  
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 5 for calling a global function with example usage: get_random_contrast(lower, upper) and returns: _random_contrast, tf