def METHOD_NAME(image_path, IMAGE_SIZE=256):
    image = tf.io.read_file(image_path)
    image = tf.image.decode_image(image, channels=3)
    image = tf.image.convert_image_dtype(image, tf.float32)
    image.set_shape([None, None, 3])
    image = tf.image.resize(images=image, size=[IMAGE_SIZE, IMAGE_SIZE])
    image = image[..., ::-1]
    # image = image / 127.5 - 1
    image = (image - 0.5) * 2
    return image