code: def eval(self, scores, labels, phase):
      pred = (np.argmax(scores, axis=1)).reshape([-1, 1])
      ret = {}
      ret["%s_acc" % (phase)] = self.ogb_evaluator.eval(
          {
              "y_true": labels,
              "y_pred": pred,
          }
      )["acc"]
      return ret
  
file_path: PGL/ogb_examples/nodeproppred/ogbn-arxiv/GaAN/monitor/train_monitor.py
imports: import tqdm
  import json
  import numpy
  import sys
  import os
  import paddle.fluid
  from tensorboardX import SummaryWriter
  from ogb.nodeproppred import Evaluator
  from ogb.nodeproppred import NodePropPredDataset
label_desc: Use image node_id 2 for calling the OgbEvaluator obj's underlying member method code with example usage: obj.eval(scores, labels, phase) and returns: ret