R/gen-namespace-docs.R
, R/gen-namespace-examples.R
, R/gen-namespace.R
torch_digamma.Rd
Digamma
torch_digamma(self)
self | (Tensor) the tensor to compute the digamma function on |
---|
Computes the logarithmic derivative of the gamma function on input
.
$$ \psi(x) = \frac{d}{dx} \ln\left(\Gamma\left(x\right)\right) = \frac{\Gamma'(x)}{\Gamma(x)} $$
#> torch_tensor #> -0.5772 #> -1.9635 #> [ CPUFloatType{2} ]