code: def load_shared_variable(val):
      """
      This function is only here to keep some pickles loading
      after a failed fix done in August 2011.
      It can be removed after sufficient time has passed.
  
      """
      return tensor_constructor(val)
  
file_path: pytensor/pytensor/tensor/sharedvar.py
imports: import warnings
  import numpy
  from pytensor.compile import SharedVariable, shared_constructor
  from pytensor.misc.safe_asarray import _asarray
  from pytensor.tensor import _get_vector_length
  from pytensor.tensor.type import TensorType
  from pytensor.tensor.variable import _tensor_py_operators
label_desc: Use image node_id 1 for calling a global function with example usage: load_shared_variable(val) and returns: tensor_constructor