Polygamma
Polygamma
torch_polygamma(n, input)
n |
(int) the order of the polygamma function |
input |
(Tensor) the input tensor. |
Computes the n^{th} derivative of the digamma function on input
.
n ≥q 0 is called the order of the polygamma function.
ψ^{(n)}(x) = \frac{d^{(n)}}{dx^{(n)}} ψ(x)
This function is not implemented for \eqn{n \geq 2}.
if (torch_is_installed()) { ## Not run: a = torch_tensor(c(1, 0.5)) torch_polygamma(1, a) ## End(Not run) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.