def METHOD_NAME(data_path):
    uniform = fn.random.uniform(range=(0., 1.), shape=2)
    resize_uniform = fn.random.uniform(range=(256., 480.))
    mirror = fn.random.coin_flip(probability=0.5)
    jpegs, _ = fn.readers.file(file_root=data_path)
    images = fn.decoders.image(jpegs, output_type=types.RGB)
    resized_images = fn.fast_resize_crop_mirror(images, crop=(224, 224), crop_pos_x=uniform[0],
                                                crop_pos_y=uniform[1], mirror=mirror,
                                                resize_shorter=resize_uniform)
    output = fn.crop_mirror_normalize(resized_images.gpu(), device='gpu', dtype=types.FLOAT16,
                                      mean=[128., 128., 128.], std=[1., 1., 1.])
    return output