io.rst 529 Bytes
Newer Older
1
2
3
4
5
6
torchvision.io
==============

.. currentmodule:: torchvision.io

The :mod:`torchvision.io` package provides functions for performing IO
7
8
operations. They are currently specific to reading and writing video and
images.
9
10
11
12
13
14
15
16
17

Video
-----

.. autofunction:: read_video

.. autofunction:: read_video_timestamps

.. autofunction:: write_video
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33


Image
-----

.. autofunction:: read_image

.. autofunction:: decode_image

.. autofunction:: encode_jpeg

.. autofunction:: write_jpeg

.. autofunction:: encode_png

.. autofunction:: write_png