Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

docs: fix output shape comment in RawToRgb example (#3563)

Ziqi Wange4bea595cbda
diff --git a/kornia/color/raw.py b/kornia/color/raw.py
index 10100ab7a..542b06028 100644
--- a/kornia/color/raw.py
+++ b/kornia/color/raw.py
@@ -305,7 +305,7 @@ class RawToRgb(nn.Module):
Example:
>>> rawinput = torch.rand(2, 1, 4, 6)
>>> rgb = RawToRgb(CFA.RG)
- >>> output = rgb(rawinput) # 2x3x4x5
+ >>> output = rgb(rawinput) # 2x3x4x6
"""