def METHOD_NAME(node_index, node_label, gnn_model, graph, criterion):
    gnn_model.METHOD_NAME()
    pred = gnn_model(graph, graph.node_feat["words"])
    pred = paddle.gather(pred, node_index)
    loss = criterion(pred, node_label)
    acc = paddle.metric.accuracy(input=pred, label=node_label, k=1)
    return loss, acc