PyTorch torch.igammac function
PyTorch torch reference manual
torch.igammac A function in PyTorch for computing the element-wise complementary incomplete gamma function.
Function definition
torch.igammac(input, other, out=None)
Usage examples
Example
import
torch
Compute the complementary incomplete gamma function
x
=
torch.
tensor
(
[
1.0
,
2.0
,
3.0
]
)
a
=
torch.
tensor
(
[
1.0
,
1.0
,
1.0
]
)
result
=
torch.
igammac
(
a
,
x
)
(
result
)