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
:Getting started with transforms v2
Getting started with transforms v2Illustration of transformsTransforms v2: End-to-end object detection/segmentation example
Transforms v2: End-to-end object detection/segmentation exampleHow to use CutMix and MixUpHow to write your own v2 transforms
How to write your own v2 transformsHow to write your own TVTensor class
How to write your own TVTensor class- 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.