Digamma function .
Implemented as a composite of engine primitives so autograd flows through naturally. Uses the standard recurrence-plus-asymptotic strategy: shift the argument by 8 via , then evaluate the asymptotic Bernoulli series on the shifted argument where the series converges quickly.
Parameters
Real input. Defined for
x > 0.Returns
TensorSame shape as x.
See Also
lgamma— itself.