Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Fix E501 error for CI

Jian S3ee918ad6140
diff --git a/kornia/augmentation/functional.py b/kornia/augmentation/functional.py
index af35a4aed..088719f98 100644
--- a/kornia/augmentation/functional.py
+++ b/kornia/augmentation/functional.py
@@ -185,7 +185,8 @@ def apply_vflip(input: torch.Tensor, params: Dict[str, torch.Tensor], return_tra
return flipped
-def apply_color_jitter(input: torch.Tensor, params: Dict[str, torch.Tensor], return_transform: bool = False) -> UnionType:
+def apply_color_jitter(input: torch.Tensor, params: Dict[str, torch.Tensor],
+ return_transform: bool = False) -> UnionType:
"""Apply Color Jitter on a tensor image or a batch of tensor images with given random parameters.
Input should be a tensor of shape (H, W), (C, H, W) or a batch of tensors :math:`(*, C, H, W)`.