Shortcuts

torchvision

The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.

torchvision.get_image_backend()[source]

Gets the name of the package used to load images

torchvision.set_image_backend(backend)[source]

Specifies the package used to load images.

Parameters

backend (string) – Name of the image backend. one of {‘PIL’, ‘accimage’}. The accimage package uses the Intel IPP library. It is generally faster than PIL, but does not support as many operations.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources