GaussianBlur

class dragon.vm.dali.ops.GaussianBlur(
  sigma=None,
  window_size=None,
  dtype=None,
  **kwargs
)[source]

Apply gaussian blur to image.

Examples:

sigma_rng = dali.ops.Uniform((0.1, 2.0))
blur = dali.ops.GaussianBlur()
y = blur(inputs['x'], sigma=sigma_rng())

__new__

static GaussianBlur.__new__(
  cls,
  sigma=None,
  window_size=None,
  dtype=None,
  **kwargs
)[source]

Create a GaussianBlur operator.

Parameters:
  • sigma (Union[float, Sequence[float]], optional) – The sigma value to gaussian kernel.
  • window_size (Union[int, Sequence[int]], optional) – The window size to gaussian kernel.
  • dtype (str, optional) – The output data type.
Returns:

nvidia.dali.ops.GaussianBlur – The operator.