Skip to content

Commit

Permalink
Update _misc.py
Browse files Browse the repository at this point in the history
gaussian blue doc - mention padding policy
  • Loading branch information
talcs authored Feb 1, 2024
1 parent d6dbf6f commit 616a468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/transforms/v2/_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _transform(self, inpt: Any, params: Dict[str, Any]) -> Any:


class GaussianBlur(Transform):
"""Blurs image with randomly chosen Gaussian blur.
"""Blurs image with randomly chosen Gaussian blur kernel. The convolution will be using reflection padding corresponding to the kernel size, to maintain the input shape.
If the input is a Tensor, it is expected
to have [..., C, H, W] shape, where ... means an arbitrary number of leading dimensions.
Expand Down

0 comments on commit 616a468

Please sign in to comment.