code: def paddle_pickle_load(stream):
      """
      Reference to `paddle.load`
      """
      load_result = pickle.load(stream)
      if isinstance(load_result, dict):
          load_result = _pack_loaded_dict(load_result)
          if "StructuredToParameterName@@" in load_result:
              for key in load_result["StructuredToParameterName@@"]:
                  if isinstance(load_result[key], np.ndarray):
                      load_result[key] = _ndarray_to_tensor(
                          load_result[key], return_numpy=False
                      )
  
              if "StructuredToParameterName@@" in load_result:
                  del load_result["StructuredToParameterName@@"]
          else:
              load_result = _parse_load_result(
                  load_result, return_numpy=False
              )
  
      else:
          load_result = _parse_load_result(
              load_result, return_numpy=False
          )
  
      return load_result
  
file_path: fastNLP/fastNLP/core/drivers/paddle_driver/dist_utils.py
imports: import io
  import pickle
  import os
  from typing import Any, List
  import numpy
  from fastNLP.envs.imports import _NEED_IMPORT_PADDLE
  from fastNLP.envs.env import FASTNLP_NO_SYNC
  from fastNLP.core.utils import paddle_move_data_to_device
label_desc: Use image node_id 3 for calling a global function with example usage: paddle_pickle_load(stream) and returns: load_result