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.
1 parent 80e84b5 commit 5ac60d8Copy full SHA for 5ac60d8
src/torchcodec/transforms/_decoder_native_transforms.py
@@ -30,7 +30,8 @@ class Resize(DecoderNativeTransform):
30
31
# Also note that this type is more restrictive than what TorchVision
32
# accepts, but it accurately reflects current decoder-native transform
33
- # limitations.
+ # limitations. We can reflect that not just in our docs, but also type
34
+ # annotations.
35
size: Sequence[int]
36
37
def make_params(self) -> str:
0 commit comments