Differences with torch.mvlgamma

View Source On Gitee

torch.mvlgamma

torch.mvlgamma(input, p) -> Tensor

For more information, see torch.mvlgamma.

mindspore.ops.mvlgamma

mindspore.ops.mvlgamma(input, p) -> Tensor

For more information, see mindspore.ops.mvlgamma.

Differences

MindSpore API function is consistent with that of PyTorch, with differences in the data types supported by the parameters.

PyTorch: The dtype of the parameter input can be int or float.

MindSpore: The dtype of the parameter input can be float32 or float64.

Categories

Subcategories

PyTorch

MindSpore

Difference

Parameters

Parameter 1

input

input

Both are Tensor, and the dtype of the parameter input in torch.mvlgamma can be int or float. The dtype of the parameter input in mindspore.ops.mvlgamma can be float32 or float64.

Parameter 2

p

p

-