tv_tensors.rst 701 B

1234567891011121314151617181920212223242526272829
  1. .. _tv_tensors:
  2. TVTensors
  3. ==========
  4. .. currentmodule:: torchvision.tv_tensors
  5. TVTensors are :class:`torch.Tensor` subclasses which the v2 :ref:`transforms
  6. <transforms>` use under the hood to dispatch their inputs to the appropriate
  7. lower-level kernels. Most users do not need to manipulate TVTensors directly.
  8. Refer to
  9. :ref:`sphx_glr_auto_examples_transforms_plot_transforms_getting_started.py` for
  10. an introduction to TVTensors, or
  11. :ref:`sphx_glr_auto_examples_transforms_plot_tv_tensors.py` for more advanced
  12. info.
  13. .. autosummary::
  14. :toctree: generated/
  15. :template: class.rst
  16. Image
  17. Video
  18. BoundingBoxFormat
  19. BoundingBoxes
  20. Mask
  21. TVTensor
  22. set_return_type
  23. wrap