code: def test_forker(test_fn, n_runs):
      q = Queue()
      p = Process(target=test_runner, args=(q, test_fn, n_runs))
      p.start()
      res = q.get()
      p.join()
      return res
  
file_path: skorch/examples/benchmarks/freezing.py
imports: from functools import partial
  import resource
  from multiprocessing import Process, Queue
  import torch
  import skorch
  import skorch.helper
  from skorch.toy import make_classifier
  import sklearn.datasets
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_forker(test_fn, n_runs) and returns: res