def __init__(self, brightness, contrast, saturation):
    ts = []
    if (brightness > 0):
        ts.append(BrightnessJitterAug(brightness))
    if (contrast > 0):
        ts.append(ContrastJitterAug(contrast))
    if (saturation > 0):
        ts.append(SaturationJitterAug(saturation))
    super(ColorJitterAug, self).__init__(ts)
def __init__(self, brightness, contrast, saturation):
    ts = []
    if (brightness > 0):
        ts.append(BrightnessJitterAug(brightness))
    if (contrast > 0):
        ts.append(ContrastJitterAug(contrast))
    if (saturation > 0):
        ts.append(SaturationJitterAug(saturation))
    super(ColorJitterAug, self).__init__(ts)