code: def test_from_data(trainer, dataset, args):
      for seed in tqdm(range(args.repeat)):
          set_seed(seed)
          trainer.train(dataset)
          acc = trainer.evaluate(dataset, mask="test")
  
      return acc
  
file_path: AutoGL/examples/grna_test.py
imports: import os
  import sys
  from autogl.datasets import build_dataset_from_name
  from autogl.datasets.utils.conversion._to_pyg_dataset import to_pyg_dataset
  from autogl.solver import AutoNodeClassifier
  from autogl.module.train import Acc
  from autogl.solver.utils import set_seed
  import argparse
  import torch
  from tqdm import tqdm
  import numpy
  import time
  from torch_geometric.utils import to_scipy_sparse_matrix
  from deeprobust.graph.defense import GCN
  from deeprobust.graph.global_attack import Metattack
label_desc: Use image node_id 2 for calling a global function with example usage: test_from_data(trainer, dataset, args) and returns: acc