code: def get_param_list(layer_list):
      """
      Returns a flattened list of parameters. Each element in the list
      is a tuple ``((W, dW), states)`` for the parameters ``W``, parameter updates ``dW``,
      and the current set of ``states``.
  
      Args:
          layer_list (list): List of layers
  
      Returns:
          param_list (list): List of parameters.
      """
      plist = []
      for l in layer_list:
          ptuple = l.get_params()
          plist.extend(ptuple) if isinstance(
              ptuple, list
          ) else plist.append(ptuple)
      return plist
  
imports: from __future__ import division
  from neon import NervanaObject
  from neon.util.persist import load_class
  import logging
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_param_list(layer_list) and returns: plist