nvidia.dali.fn.coord_transform — NVIDIA DALI (original) (raw)

nvidia.dali.fn.coord_transform(__input, /, *, M=None, MT=None, T=None, bytes_per_sample_hint=[0], dtype=DALIDataType.FLOAT, preserve=False, device=None, name=None)#

Applies a linear transformation to points or vectors.

The transformation has the form:

Where M is a m x n matrix and T is a translation vector with m components. Input must consist of n-element vectors or points and the output has m components.

This operator can be used for many operations. Here’s the (incomplete) list:

This operator allows sequence inputs.

Supported backends

Parameters:

__input (TensorList) – Input to the operator.

Keyword Arguments: