docstr: Use weight to aggregate the logits of label words.
  
  Args:
      label_words_logits(:obj:`paddle.Tensor`): The logits of the label words.
  
  Returns:
      :obj:`paddle.Tensor`: The aggregated logits from the label words.
docstr_tok: ["Use","weight","to","aggregate","the","logits","of","label","words",".","Args",":","label_words_logits","(",":","obj",":","`","paddle.Tensor","`",")",":","The","logits","of","the","label","words",".","Returns",":",":","obj",":","`","paddle.Tensor","`",":","The","aggregated","logits","from","the","label","words","."]
code: def aggregate(self, label_words_logits):
      r"""Use weight to aggregate the logits of label words.
  
      Args:
          label_words_logits(:obj:`paddle.Tensor`): The logits of the label words.
  
      Returns:
          :obj:`paddle.Tensor`: The aggregated logits from the label words.
      """
      tmp = self.label_words_mask
      label_words_logits = (label_words_logits * tmp).sum(-1) / tmp.sum(
          -1
      )
      return label_words_logits
  
imports: import paddle
  from abc import abstractmethod
  from typing import *
  import numpy
  import paddle.nn.functional
label_desc: Use image node_id 8 for calling the ErnieManualVerbalizer obj's underlying member method code with example usage: obj.aggregate(label_words_logits) and returns: label_words_logits