parameters: (op, grad)
docstring: Returns grad * digamma(x).
docstring_summary: Returns grad * digamma(x).
docstring_tokens: Returns grad * digamma ( x ) .
function: def _LgammaGrad(op, grad):
    """Returns grad * digamma(x)."""
    x = op.inputs[0]
    with ops.control_dependencies([grad]):
      x = math_ops.conj(x)
      if compat.forward_compatible(2019, 9, 14):
        return math_ops.mul_no_nan(math_ops.digamma(x), grad)
      else:
        return grad * math_ops.digamma(x)
function_tokens: def _LgammaGrad ( op , grad ) : x = op . inputs [ 0 ] with ops . control_dependencies ( [ grad ] ) : x = math_ops . conj ( x ) if compat . forward_compatible ( 2019 , 9 , 14 ) : return math_ops . mul_no_nan ( math_ops . digamma ( x ) , grad ) else : return grad * math_ops . digamma ( x )