PyTorch torch.mvlgamma Function
PyTorch torch Reference Manual
torch.mvlgammais 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 Example
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)
# 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)
Other Extensions