From f84ce5d871097f8b26c43168719dc131b6a8f58d Mon Sep 17 00:00:00 2001 From: panfengfeng Date: Fri, 18 Nov 2022 09:49:34 -0500 Subject: [PATCH] fix I60Q6L --- docs/api/api_python/ops/mindspore.ops.func_igamma.rst | 4 ++-- docs/api/api_python/ops/mindspore.ops.func_igammac.rst | 4 ++-- docs/api/api_python/ops/mindspore.ops.func_mse_loss.rst | 2 +- mindspore/python/mindspore/ops/function/math_func.py | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api/api_python/ops/mindspore.ops.func_igamma.rst b/docs/api/api_python/ops/mindspore.ops.func_igamma.rst index 86ed517e72d..6cf52711d4a 100644 --- a/docs/api/api_python/ops/mindspore.ops.func_igamma.rst +++ b/docs/api/api_python/ops/mindspore.ops.func_igamma.rst @@ -7,12 +7,12 @@ mindspore.ops.igamma 如果我们将 `input` 比作 `a` , `other` 比作 `x` ,则正规化的下层不完全伽马函数可以表示成: .. math:: - P(a, x) = gamma(a, x) / Gamma(a) = 1 - Q(a, x) + P(a, x) = Gamma(a, x) / Gamma(a) = 1 - Q(a, x) 其中, .. math:: - gamma(a, x) = \int_0^x t^{a-1} \exp^{-t} dt + Gamma(a, x) = \int_0^x t^{a-1} \exp^{-t} dt 为下层不完全伽马函数。 diff --git a/docs/api/api_python/ops/mindspore.ops.func_igammac.rst b/docs/api/api_python/ops/mindspore.ops.func_igammac.rst index 74d8b4a06c9..a1e2270b383 100644 --- a/docs/api/api_python/ops/mindspore.ops.func_igammac.rst +++ b/docs/api/api_python/ops/mindspore.ops.func_igammac.rst @@ -7,12 +7,12 @@ mindspore.ops.igammac 如果我们将 `input` 比作 `a` , `other` 比作 `x` ,则正规化的下层不完全伽马函数可以表示成: .. math:: - \(Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x)\) + Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x) 其中, .. math:: - \(Gamma(a, x) = int_{x}^{\infty} t^{a-1} exp(-t) dt\) + Gamma(a, x) = int_{x}^{\infty} t^{a-1} exp(-t) dt 为上层不完全伽马函数。 diff --git a/docs/api/api_python/ops/mindspore.ops.func_mse_loss.rst b/docs/api/api_python/ops/mindspore.ops.func_mse_loss.rst index 86702c895bc..0ca031a8a6b 100644 --- a/docs/api/api_python/ops/mindspore.ops.func_mse_loss.rst +++ b/docs/api/api_python/ops/mindspore.ops.func_mse_loss.rst @@ -11,7 +11,7 @@ mindspore.ops.mse_loss - **input_x** (Tensor) - 任意维度的Tensor。 - **target** (Tensor) - 输入标签,任意维度的Tensor。大多数场景下与 `input_x` 具有相同的shape。 但是,也支持在两者shape不相同的情况下,通过广播保持一致。 - - **reduction** (str,可选) - 对loss应用特定的缩减方法。可选"mean"、"none"、"sum"。默认值:"mean" + - **reduction** (str,可选) - 对loss应用特定的缩减方法。可选"mean"、"none"、"sum"。默认值:"mean"。 返回: Tensor,数据类型为float,如果 `reduction` 为 'mean'或'sum'时,shape为0;如果 `reduction` 为 'none',输入的shape则是广播之后的shape。 diff --git a/mindspore/python/mindspore/ops/function/math_func.py b/mindspore/python/mindspore/ops/function/math_func.py index f3df46fa771..8079a1e8d4c 100644 --- a/mindspore/python/mindspore/ops/function/math_func.py +++ b/mindspore/python/mindspore/ops/function/math_func.py @@ -7110,12 +7110,12 @@ def igamma(input, other): If we define `input` as `a` and `other` as `x`, the lower regularized incomplete Gamma function is defined as: .. math:: - \(P(a, x) = Gamma(a, x) / Gamma(a) = 1 - Q(a, x)\) + P(a, x) = Gamma(a, x) / Gamma(a) = 1 - Q(a, x) where .. math:: - \(Gamma(a, x) = \int_0^x t^{a-1} \exp^{-t} dt\) + Gamma(a, x) = \int_0^x t^{a-1} \exp^{-t} dt is the lower incomplete Gamma function. @@ -7159,12 +7159,12 @@ def igammac(input, other): If we define `input` as `a` and `other` as `x`, the upper regularized incomplete Gamma function is defined as: .. math:: - \(Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x)\) + Q(a, x) = Gamma(a, x) / Gamma(a) = 1 - P(a, x) where .. math:: - \(Gamma(a, x) = int_{x}^{\infty} t^{a-1} exp(-t) dt\) + Gamma(a, x) = int_{x}^{\infty} t^{a-1} exp(-t) dt is the upper incomplete Gama function.