Skip to content

Commit 5ac60d8

Browse files
committed
Better comment
1 parent 80e84b5 commit 5ac60d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/torchcodec/transforms/_decoder_native_transforms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class Resize(DecoderNativeTransform):
3030

3131
# Also note that this type is more restrictive than what TorchVision
3232
# accepts, but it accurately reflects current decoder-native transform
33-
# limitations.
33+
# limitations. We can reflect that not just in our docs, but also type
34+
# annotations.
3435
size: Sequence[int]
3536

3637
def make_params(self) -> str:

0 commit comments

Comments
 (0)