code: def _base_resize(img, size):
          '''Helper function that uses TF to resize an image'''
          img = tf.expand_dims(img, 0)
          return tf.image.resize_bilinear(img, size)[0,:,:,:f _base_resize(img, size):
          '''Helper function that uses TF to resize an image'''
          img = tf.expand_dims(img, 0)
          return tf.image.resize_bilinear(img, size)[0,:,:,:]
docs: Helper function that uses TF to resize an image