def brightness(image, factor):
    'Equivalent of PIL Brightness.'
    degenerate = tf.zeros_like(image)
    return blend(degenerate, image, factor)
Equivalent of PIL Brightness.
def brightness(image, factor):
    
    degenerate = tf.zeros_like(image)
    return blend(degenerate, image, factor)