PyTorch torch.mvlgamma 関数


Pytorch torch 参考手册Pytorch torch リファレンスマニュアル

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)

Pytorch torch 参考手册Pytorch torch リファレンスマニュアル

その他の拡張