tv_tensors.rst 609 Bytes
Newer Older
1
.. _tv_tensors:
Nicolas Hug's avatar
Nicolas Hug committed
2

3
TVTensors
Philip Meier's avatar
Philip Meier committed
4
5
==========

6
.. currentmodule:: torchvision.tv_tensors
Nicolas Hug's avatar
Nicolas Hug committed
7

8
9
10
11
12
TVTensors are :class:`torch.Tensor` subclasses which the v2 :ref:`transforms
<transforms>` use under the hood to dispatch their inputs to the appropriate
lower-level kernels. Most users do not need to manipulate TVTensors directly and
can simply rely on dataset wrapping - see e.g.
:ref:`sphx_glr_auto_examples_transforms_plot_transforms_e2e.py`.
Nicolas Hug's avatar
Nicolas Hug committed
13

Philip Meier's avatar
Philip Meier committed
14
15
16
17
18
19
20
.. autosummary::
    :toctree: generated/
    :template: class.rst

    Image
    Video
    BoundingBoxFormat
21
    BoundingBoxes
Philip Meier's avatar
Philip Meier committed
22
    Mask
23
    TVTensor
24
    set_return_type
25
    wrap