code: def _resize_image(image, height, width):
    
    return tf.image.resize_images(
        image, [height, width], method=tf.image.ResizeMethod.BILINEAR,
        align_corners=False)
docs: Simple wrapper around tf.resize_images.
  
    This is primarily to make sure we use the same `ResizeMethod` and other
    details each time.
  
    Args:
      image: A 3-D image `Tensor`.
      height: The target height for the resized image.
      width: The target width for the resized image.
  
    Returns:
      resized_image: A 3-D tensor containing the resized image. The first two
        dimensions have the shape [height, width].