"vscode:/vscode.git/clone" did not exist on "a291439a59d9b53e7700a4e9560ad7d6995c366a"
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
TVTensors are tensor subclasses which the :mod:`~torchvision.transforms.v2` v2 transforms use under the hood to
Nicolas Hug's avatar
Nicolas Hug committed
9
dispatch their inputs to the appropriate lower-level kernels. Most users do not
10
need to manipulate tv_tensors directly and can simply rely on dataset wrapping -
Nicolas Hug's avatar
Nicolas Hug committed
11
see e.g. :ref:`sphx_glr_auto_examples_transforms_plot_transforms_e2e.py`.
Nicolas Hug's avatar
Nicolas Hug committed
12

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

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