code: def test(model, graph, mask, label):
      model.eval()
  
      pred = model(graph)[mask].max(1)[1]
      acc = pred.eq(label[mask]).sum().item() / mask.sum().item()
      return acc
  
file_path: AutoGL/test/performance/node_classification/dgl/model.py
imports: import numpy
  from tqdm import tqdm
  import pickle
  import torch
  import torch.nn.functional
  from dgl.data import CoraGraphDataset, PubmedGraphDataset, CiteseerGraphDataset
  from autogl.module.model.dgl import AutoGCN, AutoGAT, AutoSAGE
  from autogl.solver.utils import set_seed
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: test(model, graph, mask, label) and returns: acc