code: def test():
      model.eval()
      out, accs = model(data.x, data.edge_index), []
      for _, mask in data("train_mask", "val_mask", "test_mask"):
          pred = out[mask].argmax(1)
          acc = pred.eq(data.y[mask]).sum().item() / mask.sum().item()
          accs.append(acc)
      return accs
  
file_path: pytorch_geometric/examples/arma.py
imports: import os.path
  import torch
  import torch.nn.functional
  import torch_geometric.transforms
  from torch_geometric.datasets import Planetoid
  from torch_geometric.nn import ARMAConv
label_desc: Use image node_id 2 for calling a global function with example usage: test() and returns: accs