code: def reduce_memmap(a):
      """Pickle the descriptors of a memmap instance to reopen on same file."""
      m = _get_backing_memmap(a)
      if m is not None:
          # m is a real mmap backed memmap instance, reduce a preserving striding
          # information
          return _reduce_memmap_backed(a, m)
      else:
          # This memmap instance is actually backed by a regular in-memory
          # buffer: this can happen when using binary operators on numpy.memmap
          # instances
          return (
              loads,
              (dumps(np.asarray(a), protocol=HIGHEST_PROTOCOL),),
          )
  
imports: from mmap import mmap
  import errno
  import os
  import stat
  import sys
  import threading
  import atexit
  import tempfile
  import shutil
  import warnings
  from time import sleep
  from pickle import whichmodule
  from pickle import Pickler
  from pickle import HIGHEST_PROTOCOL
  from io import BytesIO
  from ._multiprocessing_helpers import mp, assert_spawning
  from multiprocessing.pool import Pool
  from .numpy_pickle import load
  from .numpy_pickle import dump
  from .hashing import hash
label_desc: Use image node_id 5 for calling a global function with example usage: reduce_memmap(a) and returns: _reduce_memmap_backed, loads,  dumps