def METHOD_NAME(self, graph, term_ids):
    """Message Passing of erniesage v2.
    Args:
        graph (Graph): the Graph object.
        feature (Tensor): the node feature tensor.
    Returns:
        Tensor: the self and neighbor feature tensors.
    """
    def _recv_func(message):
        return getattr(message, self.aggr_func)(message["msg"])
    msg = graph.send(self.ernie_send, node_feat={"term_ids": term_ids})
    neigh_feature = graph.recv(reduce_func=_recv_func, msg=msg)
    cls = paddle.full(shape=[term_ids.shape[0], 1], dtype="int64", fill_value=self.cls_token_id)
    term_ids = paddle.concat([cls, term_ids], 1)
    term_ids.stop_gradient = True
    outputs = self.ernie(term_ids, paddle.zeros_like(term_ids))
    self_feature = outputs[1]
    return self_feature, neigh_feature