PyTorch torch.mvlgamma 関数
torch.mvlgammaPyTorch において、要素ごとの多変量ガンマ関数の対数を計算するための関数です。
関数定義
torch.mvlgamma(input, p, out=None)
使用例
例
import torch
# 多変量ガンマ関数の対数を計算
x = torch.tensor([1.0, 2.0, 3.0])
p = 2
result = torch.mvlgamma(x, p)
print(result)
# 多変量ガンマ関数の対数を計算
x = torch.tensor([1.0, 2.0, 3.0])
p = 2
result = torch.mvlgamma(x, p)
print(result)
その他の拡張
Pytorch torch リファレンスマニュアル