(self, img, lbl)
return img, lbl
Args:
            img (PIL Image): Image to be flipped.

        Returns:
            PIL Image: Randomly flipped image.
Args:
            img (PIL Image): Image to be flipped.
Args : img ( PIL Image ) : Image to be flipped .
def __call__(self, img, lbl):
        """
        Args:
            img (PIL Image): Image to be flipped.

        Returns:
            PIL Image: Randomly flipped image.
        """
        if random.random() < self.p:
            return F.hflip(img), F.hflip(lbl)
        return img, lbl
def __call__ ( self , img , lbl ) : if random . random ( ) < self . p : return F . hflip ( img ) , F . hflip ( lbl ) return img , lbl