def _multi_lgamma(self, a, p, name="multi_lgamma"):
    """Computes the log multivariate gamma function; log(Gamma_p(a))."""
    with self._name_scope(name):
      seq = self._multi_gamma_sequence(a, p)
      return (0.25 * p * (p - 1.) * math.log(math.pi) +
              tf.reduce_sum(input_tensor=tf.math.lgamma(seq), axis=[-1]))
def _multi_lgamma ( self , a , p , name = "multi_lgamma" ) : with self . _name_scope ( name ) : seq = self . _multi_gamma_sequence ( a , p ) return ( 0.25 * p * ( p - 1. ) * math . log ( math . pi ) + tf . reduce_sum ( input_tensor = tf . math . lgamma ( seq ) , axis = [ - 1 ] ) )
Computes the log multivariate gamma function; log(Gamma_p(a)).