(self,dim=1,percentage=0.5)
1 for horizontal flip
        0 for vertical flip
        -1 for both flip
1 for horizontal flip
        0 for vertical flip
        -1 for both flip
1 for horizontal flip 0 for vertical flip - 1 for both flip
def __init__(self,dim=1,percentage=0.5):
        """1 for horizontal flip
        0 for vertical flip
        -1 for both flip"""
        self.dim=dim
        self.percentage=percentage
def __init__ ( self , dim = 1 , percentage = 0.5 ) : self . dim = dim self . percentage = percentage