PyTorch torch.mvlgamma function
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
)
(
result
)