nvidia.dali.experimental.dynamic.transforms.combine#

nvidia.dali.experimental.dynamic.transforms.combine(input_0, input_1, /, *inputs, batch_size=None, device=None, reverse_order=None)#

Combines two or more affine transforms.

By default, the transforms are combined such that applying the resulting transform to a point is equivalent to

applying the input transforms in the order as listed.

Example: combining [T1, T2, T3] is equivalent to T3(T2(T1(…))) for default order and equivalent to T1(T2(T3(…)))

for reversed order.

This operator allows sequence inputs.

Supported backends
  • ‘cpu’

Parameters:
  • input_0 (Tensor/Batch) – Input to the operator.

  • input_1 (Tensor/Batch) – Input to the operator.

  • inputs[2..98] (Tensor/Batch, optional) – This function accepts up to 97 optional positional inputs

Keyword Arguments:

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.