tf.math.polygamma

Compute the polygamma function \(\psi{(n)}(x)\).

tf.math.polygamma(
    a, x, name=None
)

The polygamma function is defined as:

\(\psi{(a)}(x) = \frac{da}{dxa} \psi(x)\)

where \(\psi(x)\) is the digamma function. The polygamma function is defined only for non-negative integer orders \a\.

Args:

Returns:

A Tensor. Has the same type as a.