def __call__(self, img):
if random.random() < self.p:<EOL><INDENT>return F.hflip(img)<EOL><DEDENT>return img<EOL>
Args:
    img (PIL Image): Image to be flipped.

Returns:
    PIL Image: Randomly flipped image.