Hsv

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

Adjust the hue and saturation.

Examples:

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

hsv = dali.ops.Hsv()
y = hsv(inputs['x'], saturation=twist_rng())

__new__

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

Create a Hsv operator.

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