Browse Source

!7585 fix api comment error in MSSSIM

Merge pull request !7585 from caozhou/fix_api_comment_error
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
1fccb01688
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/nn/layer/image.py

+ 1
- 1
mindspore/nn/layer/image.py View File

@@ -267,7 +267,7 @@ class MSSSIM(Cell):
l(x,y)&=\frac{2\mu_x\mu_y+C_1}{\mu_x^2+\mu_y^2+C_1}, C_1=(K_1L)^2.\\ l(x,y)&=\frac{2\mu_x\mu_y+C_1}{\mu_x^2+\mu_y^2+C_1}, C_1=(K_1L)^2.\\
c(x,y)&=\frac{2\sigma_x\sigma_y+C_2}{\sigma_x^2+\sigma_y^2+C_2}, C_2=(K_2L)^2.\\ c(x,y)&=\frac{2\sigma_x\sigma_y+C_2}{\sigma_x^2+\sigma_y^2+C_2}, C_2=(K_2L)^2.\\
s(x,y)&=\frac{\sigma_{xy}+C_3}{\sigma_x\sigma_y+C_3}, C_3=C_2/2.\\ s(x,y)&=\frac{\sigma_{xy}+C_3}{\sigma_x\sigma_y+C_3}, C_3=C_2/2.\\
MSSSIM(x,y)&=l^alpha_M*{\prod_{1\leq j\leq M} (c^beta_j*s^gamma_j)}.
MSSSIM(x,y)&=l^\alpha_M*{\prod_{1\leq j\leq M} (c^\beta_j*s^\gamma_j)}.


Args: Args:
max_val (Union[int, float]): The dynamic range of the pixel values (255 for 8-bit grayscale images). max_val (Union[int, float]): The dynamic range of the pixel values (255 for 8-bit grayscale images).


Loading…
Cancel
Save