code: def get_random_flip_ud():
      """Flips an image vertically with probability 50%."""
  
      def _random_flip_ud_pp(image):
          return tf.image.random_flip_up_down(image)
  
      return _random_flip_ud_pp
  
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 19 for calling a global function with example usage: get_random_flip_ud() and returns: _random_flip_ud_pp, tf