code: def _fetch_setup(dataset, mem_size, mem_bulk):
      global _fetch_dataset, _fetch_mem_size, _fetch_mem_bulk
      signal.signal(signal.SIGINT, signal.SIG_IGN)
      _fetch_dataset = dataset
      _fetch_mem_size = mem_size
      _fetch_mem_bulk = mem_bulk
  
imports: from __future__ import division
  import datetime
  import multiprocessing
  from multiprocessing import sharedctypes
  import signal
  import sys
  import threading
  import warnings
  import numpy
  import six
  from chainer.dataset import iterator
  from chainer.iterators import _statemachine
  from chainer.iterators.order_samplers import ShuffleOrderSampler
label_desc: Use image node_id 2 for calling a global function with example usage: _fetch_setup(dataset, mem_size, mem_bulk) without return types