
Digamma
torch_digamma(self)
(Tensor) the tensor to compute the digamma function on
Computes the logarithmic derivative of the gamma function on input
.
if (torch_is_installed()) {
a = torch_tensor(c(1, 0.5))
torch_digamma(a)
}
Run the code above in your browser using DataLab