Transform
- class torchvision.transforms.v2.Transform[source]
Base class to implement your own v2 transforms.
See How to write your own v2 transforms for more details.
Examples using
Transform
:Transforms v2: End-to-end object detection/segmentation example
Transforms v2: End-to-end object detection/segmentation example- extra_repr() str [source]
Return the extra representation of the module.
To print customized extra information, you should re-implement this method in your own modules. Both single-line and multi-line strings are acceptable.