nvidia.dali.experimental.dynamic.sphere#
- nvidia.dali.experimental.dynamic.sphere(input, /, *, batch_size=None, device=None, fill_value=None, interp_type=None, mask=None)#
Performs a sphere augmentation.
- Supported backends
‘cpu’
‘gpu’
- Parameters:
input¶ (Tensor/Batch ('HWC')) – Input to the operator.
- Keyword Arguments:
fill_value¶ (float, optional, default = 0.0) – Color value that is used for padding.
interp_type¶ (
nvidia.dali.types.DALIInterpType, optional, default = DALIInterpType.INTERP_NN) – Type of interpolation used.mask¶ (int or Tensor/Batch of int, optional, default = 1) –
Determines whether to apply this augmentation to the input image.
Here are the values:
0: Do not apply this transformation.
1: Apply this transformation.