We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pts_seconds
duration_seconds
1 parent 3e1f4b5 commit 2ddf90bCopy full SHA for 2ddf90b
src/torchcodec/_frame.py
@@ -62,6 +62,10 @@ class FrameBatch(Iterable):
62
or 5D for sequences of clips, as returned by the :ref:`samplers
63
<sphx_glr_generated_examples_sampling.py>`. When ``data`` is 4D (resp. 5D)
64
the ``pts_seconds`` and ``duration_seconds`` tensors are 1D (resp. 2D).
65
+
66
+ .. note::
67
+ The ``pts_seconds`` and ``duration_seconds`` Tensors are always returned
68
+ on CPU, even if ``data`` is on GPU.
69
"""
70
71
data: Tensor
0 commit comments