def _build_likelihood(self): return tf.reduce_sum(self.a) + sum(map(tf.reduce_prod, self.trainable_vars))