nvidia.dali.fn.transforms.rotation — NVIDIA DALI (original) (raw)

nvidia.dali.fn.transforms.rotation(__input=None, /, *, angle, axis=None, bytes_per_sample_hint=[0], center=None, preserve=False, reverse_order=False, device=None, name=None)#

Produces a rotation affine transform matrix.

If another transform matrix is passed as an input, the operator applies rotation to the matrix provided.

The number of dimensions is assumed to be 3 if a rotation axis is provided or 2 otherwise.

Note

The output of this operator can be fed directly to CoordTransform and WarpAffine operators.

This operator allows sequence inputs.

Supported backends

Parameters:

__input (TensorList , optional) – Input to the operator.

Keyword Arguments: