PyTorch torch.igammac Function
PyTorch torch Reference Manual
torch.igammacIt is a function in PyTorch used to compute the element-wise complementary incomplete gamma function.
Function Definition
torch.igammac(input, other, out=None)
Usage Example
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)
print(result)
# 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)
print(result)
Other Extensions