π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Fix doc of denormalize (#964)
Jonas Maison1a695cad4ae9
diff --git a/kornia/enhance/normalize.py b/kornia/enhance/normalize.pyindex 41024e24b..96045492d 100644--- a/kornia/enhance/normalize.py+++ b/kornia/enhance/normalize.py@@ -135,7 +135,7 @@ class Denormalize(nn.Module):r"""Denormalize a tensor image 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,@@ -182,7 +182,7 @@ def denormalize(r"""Denormalize a tensor image 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,