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
:Transforms v2: End-to-end object detection/segmentation example
Transforms v2: End-to-end object detection/segmentation example- property device: device¶
Is the
torch.device
where this Tensor is.