code: def load_parameters(
      path, proto=None, needs_proto=False, extension=".nntxt"
  ):
      """Load parameters from a file with the specified format.
  
      Args:
        path : path or file object
      """
      if isinstance(path, str):
          _, ext = os.path.splitext(path)
      else:
          ext = extension
  
      ctx = FileHandlerContext()
      if proto is None:
          ctx.proto = nnabla_pb2.NNablaProtoBuf()
      else:
          ctx.proto = proto
      ctx.needs_proto = needs_proto
      # Get parameter file loaders
      file_loaders = get_parameter_file_loader()
      load_files(ctx, file_loaders, path, ext)
      return ctx.proto
  
imports: from six import iteritems
  from contextlib import contextmanager
  from collections import OrderedDict
  import google.protobuf.text_format
  import numpy
  import os
  import shutil
  import tempfile
  import zipfile
  import nnabla
  from nnabla.logger import logger
  import nnabla.utils.nnabla_pb2
  from nnabla.utils.get_file_handle import get_parameter_file_loader, load_files, FileHandlerContext
  from nnabla.utils.get_file_handle import get_file_handle_save, get_parameter_file_savers, save_files
  import warnings
label_desc: Use image node_id 12 for calling a global function with example usage: load_parameters(path, proto, needs_proto, extension) and returns: ctx