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

PyTorch torch.mvlgamma function

PyTorch torch.mvlgamma function


PyTorch torch reference manual PyTorch torch reference manual

torch.mvlgamma is a function in PyTorch used to compute the element-wise logarithm of the multivariate gamma function.

Function definition

torch.mvlgamma(input, p, out=None)


Usage examples

Example

import

torch

Compute the logarithm of the multivariate gamma function

x

=

torch.

tensor

(

[

1.0

,

2.0

,

3.0

]

)

p

=

2

result

=

torch.

mvlgamma

(

x

,

p

)

print

(

result

)


PyTorch torch reference manual PyTorch torch reference manual