Inplace version of polygamma API, the output Tensor will be inplaced with input x. Please refer to polygamma.
polygamma
x