code: def load_temporary_memmap(filename, mmap_mode, unlink_on_gc_collect):
      from ._memmapping_reducer import (
          JOBLIB_MMAPS,
          add_maybe_unlink_finalizer,
      )
  
      obj = load(filename, mmap_mode)
      JOBLIB_MMAPS.add(obj.filename)
      if unlink_on_gc_collect:
          add_maybe_unlink_finalizer(obj)
      return obj
  
imports: import pickle
  import os
  import warnings
  import io
  from pathlib import Path
  from .compressor import lz4, LZ4_NOT_INSTALLED_ERROR
  from .compressor import _COMPRESSORS, register_compressor, BinaryZlibFile
  from .compressor import ZlibCompressorWrapper, GzipCompressorWrapper, BZ2CompressorWrapper, LZMACompressorWrapper, XZCompressorWrapper, LZ4CompressorWrapper
  from .numpy_pickle_utils import Unpickler, Pickler
  from .numpy_pickle_utils import _read_fileobject, _write_fileobject
  from .numpy_pickle_utils import _read_bytes, BUFFER_SIZE
  from .numpy_pickle_utils import _ensure_native_byte_order
  from .numpy_pickle_compat import load_compatibility
  from .numpy_pickle_compat import NDArrayWrapper
  from .numpy_pickle_compat import ZNDArrayWrapper
  from .backports import make_memmap
label_desc: Use image node_id 3 for calling a global function with example usage: load_temporary_memmap(filename, mmap_mode, unlink_on_gc_collect) and returns: obj