nvidia.dali.experimental.dynamic.transform_translation#
- nvidia.dali.experimental.dynamic.transform_translation(input=None, /, *, batch_size=None, device=None, offset, reverse_order=None)#
Warning
This operator is now deprecated. Use
transforms.translation()instead.Warning
This operator was renamed and moved to dedicated submodule. Please use
transforms.translation()instead.- Supported backends
‘cpu’
- Parameters:
input¶ (Tensor/Batch, optional) – Input to the operator.
- Keyword Arguments:
offset¶ (float or list of float or Tensor/Batch of float) –
The translation vector.
The number of dimensions of the transform is inferred from this argument.
reverse_order¶ (bool, optional, default = False) –
Determines the order when combining affine transforms.
If set to False (default), the operator’s affine transform will be applied to the input transform. If set to True, the input transform will be applied to the operator’s transform.
If there’s no input, this argument is ignored.