code: def get_memmapping_reducers(
      forward_reducers=None,
      backward_reducers=None,
      temp_folder_resolver=None,
      max_nbytes=1e6,
      mmap_mode="r",
      verbose=0,
      prewarm=False,
      unlink_on_gc_collect=True,
      **kwargs,
  ):
      """Construct a pair of memmapping reducer linked to a tmpdir.
  
      This function manage the creation and the clean up of the temporary folders
      underlying the memory maps and should be use to get the reducers necessary
      to construct joblib pool or executor.
      """
      if forward_reducers is None:
          forward_reducers = dict()
      if backward_reducers is None:
          backward_reducers = dict()
  
      if np is not None:
          # Register smart numpy.ndarray reducers that detects memmap backed
          # arrays and that is also able to dump to memmap large in-memory
          # arrays over the max_nbytes threshold
          forward_reduce_ndarray = ArrayMemmapForwardReducer(
              max_nbytes,
              temp_folder_resolver,
              mmap_mode,
              unlink_on_gc_collect,
              verbose,
              prewarm=prewarm,
          )
          forward_reducers[np.ndarray] = forward_reduce_ndarray
          forward_reducers[np.memmap] = forward_reduce_ndarray
  
          # Communication from child process to the parent process always
          # pickles in-memory numpy.ndarray without dumping them as memmap
          # to avoid confusing the caller and make it tricky to collect the
          # temporary folder
          backward_reducers[np.ndarray] = reduce_array_memmap_backward
          backward_reducers[np.memmap] = reduce_array_memmap_backward
  
      return forward_reducers, backward_reducers
  
imports: from mmap import mmap
  import errno
  import os
  import stat
  import threading
  import atexit
  import tempfile
  import time
  import warnings
  import weakref
  from uuid import uuid4
  from multiprocessing import util
  from pickle import whichmodule, loads, dumps, HIGHEST_PROTOCOL, PicklingError
  from .numpy_pickle import dump, load, load_temporary_memmap
  from .backports import make_memmap
  from .disk import delete_folder
  from .externals.loky.backend import resource_tracker
label_desc: Use image node_id 10 for calling a global function with example usage: get_memmapping_reducers(forward_reducers, backward_reducers, temp_folder_resolver, max_nbytes, mmap_mode, verbose, prewarm, unlink_on_gc_collect) and returns: forward_reducers,  backward_reducers