Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PyTorch torch.igammac function

PyTorch torch.igammac function


PyTorch torch reference manual 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

)

print

(

result

)


PyTorch torch reference manual PyTorch torch reference manual