code: def test(model, x_eval, y_eval, evaluator):
      model.eval()
      y_pred = model(x_eval).argmax(dim=-1)
      return evaluator.eval({"y_true": y_eval, "y_pred": y_pred})["acc"]
  
file_path: ogb/examples/lsc/mag240m/mlp.py
imports: import time
  import argparse
  import torch
  import torch.nn.functional
  from torch.utils.data import DataLoader
  from torch.nn import ModuleList, Linear, BatchNorm1d, Identity
  from ogb.lsc import MAG240MDataset, MAG240MEvaluator
  from root import ROOT
label_desc: Use image node_id 2 for calling a global function with example usage: test(model, x_eval, y_eval, evaluator) and returns: evaluator