datapoints.rst 558 Bytes
Newer Older
Philip Meier's avatar
Philip Meier committed
1
2
3
4
Datapoints
==========

.. currentmodule:: torchvision.datapoints
Nicolas Hug's avatar
Nicolas Hug committed
5
6
7
8
9
10

Datapoints are tensor subclasses which the :mod:`~torchvision.transforms.v2` v2 transforms use under the hood to
dispatch their inputs to the appropriate lower-level kernels. Most users do not
need to manipulate datapoints directly and can simply rely on dataset wrapping -
see e.g. :ref:`sphx_glr_auto_examples_plot_transforms_v2_e2e.py`.

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

    Image
    Video
    BoundingBoxFormat
18
    BoundingBoxes
Philip Meier's avatar
Philip Meier committed
19
    Mask
20
    Datapoint