parameters: (self)
docstring: Defines the likelihood of each data sample.
docstring_summary: Defines the likelihood of each data sample.
docstring_tokens: Defines the likelihood of each data sample .
function: def _define_score_samples(self):
      """Defines the likelihood of each data sample."""
      op = []
      for shard_id, prior_probs in enumerate(self._prior_probs):
        op.append(prior_probs + math_ops.log(self._w[shard_id]))
      self._scores = array_ops.squeeze(
          math_ops.reduce_logsumexp(op, axis=2, keepdims=True), axis=0)
function_tokens: def _define_score_samples ( self ) : op = [ ] for shard_id , prior_probs in enumerate ( self . _prior_probs ) : op . append ( prior_probs + math_ops . log ( self . _w [ shard_id ] ) ) self . _scores = array_ops . squeeze ( math_ops . reduce_logsumexp ( op , axis = 2 , keepdims = True ) , axis = 0 )