code: def load(f, persistent_load=PersistentNdarrayLoad):
      """Load a file that was dumped to a zip file.
  
      :param f: The file handle to the zip file to load the object from.
      :type f: file
  
      :param persistent_load: The persistent loading function to use for
          unpickling. This must be compatible with the `persistent_id` function
          used when pickling.
      :type persistent_load: callable, optional
  
      .. versionadded:: 0.8
      """
      with closing(zipfile.ZipFile(f, "r")) as zip_file:
          p = pickle.Unpickler(BytesIO(zip_file.open("pkl").read()))
          p.persistent_load = persistent_load(zip_file)
          return p.load()
  
imports: import os
  import pickle
  import sys
  import tempfile
  import zipfile
  from collections import defaultdict
  from contextlib import closing
  from io import BytesIO
  from pickle import HIGHEST_PROTOCOL
  import numpy
  import pytensor
  from pytensor.compile.sharedvalue import SharedVariable
label_desc: Use image node_id 2 for calling a global function with example usage: load(f, persistent_load) and returns: p