modelzoo.vision.pytorch.unet.input.preprocessing_utils.adjust_brightness_transform#
- modelzoo.vision.pytorch.unet.input.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.