mindspore.ops.igamma ==================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/ops/mindspore.ops.func_igamma.rst :alt: 查看源文件 .. py:function:: mindspore.ops.igamma(input, other) 计算正则化的下层不完全伽马函数。 如果我们将 `input` 比作 `a` , `other` 比作 `x` ,则正则化的下层不完全伽马函数可以表示成: .. math:: 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 为下层不完全伽马函数。 :math:`Q(a, x)` 则为正则化的上层完全伽马函数。 .. warning:: 这是一个实验性API,后续可能修改或删除。 参数: - **input** (Tensor) - 第一个输入tensor。 - **other** (Tensor) - 第二个输入tensor。 返回: Tensor