nvidia.dali.fn.decoders#

The following table lists all operations available in nvidia.dali.fn.decoders module:

Function

Device support

Short description

decoders.audio

CPU

Decodes waveforms from encoded audio data.

decoders.image

CPU, Mixed

Decodes images.

decoders.image_crop

CPU, Mixed

Decodes images and extracts regions-of-interest (ROI) that are specified by fixed window dimensions and variable anchors.

decoders.image_random_crop

CPU, Mixed

Decodes images and randomly crops them.

decoders.image_slice

CPU, Mixed

Decodes images and extracts regions of interest.

decoders.numpy

CPU

Decodes NumPy arrays from a serialized npy file. The input should be a 1D uint8 tensor containing the binary data of the NumPy file. All samples in the batch must have the same number of dimensions and data type (unless dtype is specified which casts all samples in the batch to this dtype). The output will be a tensor with the same shape and data type as the original NumPy array.