code: def load_layer_parameter(layer, layer_data):
      """
      Set layer parameters to the values specified in the
      stored data
      """
      session = tf_utils.tensorflow_session()
  
      for param_name, param_data in layer_data["parameters"].items():
          parameter = getattr(layer, param_name)
  
          if not isinstance(parameter, tf.Variable):
              raise ParameterLoaderError(
                  "The `{}` parameter from the `{}` layer expected to be "
                  "instance of the tf.Variable, but current value equal to {}. "
                  "Layer: {}".format(
                      param_name, layer.name, parameter, layer
                  )
              )
  
          parameter.load(asfloat(param_data["value"]), session)
  
imports: import json
  from time import gmtime, strftime
  import six
  import h5py
  import numpy
  import tensorflow
  from six.moves import cPickle
  import neupy
  from neupy.core.docs import shared_docs
  from neupy.layers.graph import LayerGraph
  from neupy.algorithms.base import BaseNetwork
  from neupy.utils import asfloat, tf_utils
label_desc: Use image node_id 2 for calling a global function with example usage: load_layer_parameter(layer, layer_data) without return types