mindspore.ops.Igamma
- class mindspore.ops.Igamma[source]
Calculates lower regularized incomplete Gamma function.
Warning
This is an experimental API that is subject to change or deletion.
Refer to
mindspore.ops.igamma()
for more details.- Inputs:
a (Tensor) - The input tensor.
x (Tensor) - The input tensor. It should have the same dtype with a.
- Outputs:
Tensor, has the same dtype as a and x.
- Supported Platforms:
Ascend
GPU
CPU
Examples
>>> a = Tensor(np.array([2.0, 4.0, 6.0, 8.0]).astype(np.float32)) >>> x = Tensor(np.array([2.0, 3.0, 4.0, 5.0]).astype(np.float32)) >>> igamma = ops.Igamma() >>> output = igamma(a, x) >>> print (output) [0.593994 0.35276785 0.21486944 0.13337152]