Brightness

class dragon.vm.dali.ops.Brightness(**kwargs)[source]

Adjust the brightness of image.

Examples:

# Historical jitter range for brightness
twist_rng = dali.ops.Uniform(range=[0.6, 1.4])

brightness = dali.ops.Brightness()
y = brightness(inputs['x'], brightness=twist_rng())

__new__

static Brightness.__new__(
  cls,
  **kwargs
)[source]

Create a Brightness operator.

Returns:
nvidia.dali.ops.Brightness – The operator.