Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Small fix in augmentation.Denormalize docstrings (#1054)

Shunta Saitofa4012a6245a
diff --git a/kornia/augmentation/augmentation.py b/kornia/augmentation/augmentation.py
index 45f006979..966950a53 100644
--- a/kornia/augmentation/augmentation.py
+++ b/kornia/augmentation/augmentation.py
@@ -1366,7 +1366,7 @@ class Denormalize(IntensityAugmentationBase2D):
r"""Denormalize tensor images with mean and standard deviation.
.. math::
- \text{input[channel] = (input[channel] * mean[channel]) + std[channel]}
+ \text{input[channel] = (input[channel] * std[channel]) + mean[channel]}
Where `mean` is :math:`(M_1, ..., M_n)` and `std` :math:`(S_1, ..., S_n)` for `n` channels,