code: def test(model, graph, idx, labels):
      model.eval()
      pred = model(graph, "paper")[idx].max(1)[1].cpu()
      acc = (pred == labels[idx]).float().mean()
      return acc
  
file_path: AutoGL/test/performance/heterogeneous/dgl/hgt_base/base.py
imports: import scipy.io
  import urllib.request
  import dgl
  import math
  import numpy
  from model import *
  import argparse
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: test(model, graph, idx, labels) and returns: acc