cerebras.modelzoo.data.vision.segmentation.preprocessing_utils.adjust_brightness_transform#
- cerebras.modelzoo.data.vision.segmentation.preprocessing_utils.adjust_brightness_transform(img, p, delta)[source]#
Function equivalent to tf.image.adjust_brightness, but executed probabilistically. :params img: Input torch.Tensor of any shape :params p: Integer representing probability :params delta: Float value representing the value
by which img Tensor is increased or decreased.