Functional API#

Warning

The DALI TorchVision API is an experimental feature and is subject to change.

The functional API exposes stateless functions that mirror torchvision.transforms.v2.functional. No operator objects or Compose wrapper are needed.

Examples

Calling functions on PIL.Image and torch.Tensor input.

Functional API examples
Reference

All functions currently available in the DALI TorchVision API.

Functional API reference