code: def get_random_crop(crop_size):
      """Makes a random crop of a given size.
  
      Args:
        crop_size: either an integer H, where H is both the height and width of the
          random crop, or a list or tuple [H, W] of integers, where H and W are
          height and width of the random crop respectively.
  
      Returns:
        A function, that applies random crop.
      """
      crop_size = utils.maybe_repeat(crop_size, 2)
  
      def _crop(image):
          return tf.random_crop(
              image, [crop_size[0], crop_size[1], image.shape[-1]]
          )
  
      return _crop
  
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 15 for calling a global function with example usage: get_random_crop(crop_size) and returns: _crop, tf