nvidia.dali.fn.transforms ~~~~~~~~~~~~~~~~~~~~~~~~~ All operators in this module support only CPU device as they are meant to be provided as an input to named keyword operator arguments. Check for more details the relevant :ref:`pipeline documentation section`. .. seealso:: * `Tutorial describing tensor geometric transformations to transform points and images <../examples/general/../math/geometric_transforms.html>`_ * `Specifying per-frame arguments when processing video <../examples/sequence_processing/video/video_processing_per_frame_arguments.html>`_ The following table lists all operations available in ``nvidia.dali.fn.transforms`` module: .. currentmodule:: nvidia.dali.fn ======================================================================================================== ================================================ ====================================================================================================================================================== Function Device support Short description ======================================================================================================== ================================================ ====================================================================================================================================================== :meth:`transforms.combine ` CPU Combines two or more affine transforms. :meth:`transforms.crop ` CPU Produces an affine transform matrix that maps a reference coordinate space to another one. :meth:`transforms.rotation ` CPU Produces a rotation affine transform matrix. :meth:`transforms.scale ` CPU Produces a scale affine transform matrix. :meth:`transforms.shear ` CPU Produces a shear affine transform matrix. :meth:`transforms.translation ` CPU Produces a translation affine transform matrix. ======================================================================================================== ================================================ ====================================================================================================================================================== .. toctree:: :hidden: nvidia.dali.fn.transforms.combine nvidia.dali.fn.transforms.crop nvidia.dali.fn.transforms.rotation nvidia.dali.fn.transforms.scale nvidia.dali.fn.transforms.shear nvidia.dali.fn.transforms.translation