Skip to content

Glossary: Computer Vision Basics

transform

Also written: transforms, transforms.v2, torchvision.transforms.v2

A function that takes an image and returns a changed one, such as resized, cropped or converted to a tensor. Each is an object you create once and call like a function, and `torchvision.transforms.v2` is the recommended version.

Where the book teaches it

Related terms

Composetv_tensoraugmentation