TVTensor¶
- class torchvision.tv_tensors.TVTensor[source]¶
Base class for all TVTensors.
You probably don’t want to use this class unless you’re defining your own custom TVTensors. See How to write your own TVTensor class for details.
Examples using
TVTensor
:Getting started with transforms v2
Getting started with transforms v2Transforms v2: End-to-end object detection/segmentation example
Transforms v2: End-to-end object detection/segmentation exampleHow to write your own v2 transforms
How to write your own v2 transformsTVTensors FAQHow to write your own TVTensor class
How to write your own TVTensor class- property device: device¶
Is the
torch.device
where this Tensor is.