
Last chance! 50% off unlimited learning
Sale ends in
Polygamma
torch_polygamma(n, input)
(int) the order of the polygamma function
(Tensor) the input tensor.
Computes the input
.
if (torch_is_installed()) {
if (FALSE) {
a = torch_tensor(c(1, 0.5))
torch_polygamma(1, a)
}
}
Run the code above in your browser using DataLab