examples/pytorch/semantic-segmentation/run_semantic_segmentation.py/RandomHorizontalFlip/__call__
class RandomHorizontalFlip:    def __call__(self, image, target):
        if random.random() < self.flip_prob:
            image = functional.hflip(image)
            target = functional.hflip(target)
        return image, target