Skip to content

Glossary: Computer Vision Beyond the Basics

tv_tensors

Also written: tv_tensors.BoundingBoxes, BoundingBoxes, tv_tensors.Image, canvas_size, SanitizeBoundingBoxes, ClampBoundingBoxes

Tensors tagged as images, boxes or masks so `transforms.v2` treats them correctly. A plain, untagged box tensor passes through a flip unchanged, so the photo flips but the box doesn't.

Where the book teaches it

Related terms

Targettorchvision