mindspore.ops.igammac
- mindspore.ops.igammac(input, other)[source]
Calculates upper regularized incomplete Gamma function.
If we define input as a and other as x, the upper regularized incomplete Gamma function is defined as:
where
is the upper incomplete Gama function.
Above
is the lower regularized incomplete Gamma function.Warning
This is an experimental API that is subject to change or deletion.
- Parameters
- Returns
Tensor
- Supported Platforms:
Ascend
GPU
CPU
Examples
>>> import mindspore >>> input = mindspore.tensor([2.0, 4.0, 6.0, 8.0]) >>> other = mindspore.tensor([2.0, 3.0, 4.0, 5.0]) >>> output = mindspore.ops.igammac(input, other) >>> print(output) [0.40600574 0.6472322 0.78513044 0.8666282 ]