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

nvidia.dali.fn.cast(__input, /, *, bytes_per_sample_hint=[0], dtype, preserve=False, device=None, name=None)#

Cast a tensor to a different type.

This operator allows sequence inputs and supports volumetric data.

Supported backends

Parameters:

__input (TensorList) – Input to the operator.

Keyword Arguments: