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 229d852 commit 435112cCopy full SHA for 435112c
torchvision/transforms/v2/_augment.py
@@ -58,7 +58,7 @@ def __init__(
58
p: float = 0.5,
59
scale: Sequence[float] = (0.02, 0.33),
60
ratio: Sequence[float] = (0.3, 3.3),
61
- value: float = 0.0,
+ value: Union[float, Sequence[float]] = 0.0,
62
inplace: bool = False,
63
):
64
super().__init__(p=p)
0 commit comments