parameters: (program)
return_statement: return list(filter(is_parameter, program.list_vars()))
docstring: :api_attr: Static Graph
  
      Get all the parameters from Program.
  
      Args:
          var(Program): The Program to get parameters
  
      Returns:
          list: The list contains all parameters in the program
  
      Examples:
          .. code-block:: python
  
              import paddle
              import paddle.fluid as fluid
  
              paddle.enable_static()
              data = fluid.data(name="img", shape=[64, 784])
              w = fluid.layers.create_parameter(shape=[784, 200], dtype='float32', name='fc_w')
              b = fluid.layers.create_parameter(shape=[200], dtype='float32', name='fc_b')
              list_para  = fluid.io.get_program_parameter(  fluid.default_main_program() )
docstring_summary: :api_attr: Static Graph
docstring_tokens: : api_attr : Static Graph
function: def get_program_parameter(program):
      """
      :api_attr: Static Graph
  
      Get all the parameters from Program.
  
      Args:
          var(Program): The Program to get parameters
  
      Returns:
          list: The list contains all parameters in the program
  
      Examples:
          .. code-block:: python
  
              import paddle
              import paddle.fluid as fluid
  
              paddle.enable_static()
              data = fluid.data(name="img", shape=[64, 784])
              w = fluid.layers.create_parameter(shape=[784, 200], dtype='float32', name='fc_w')
              b = fluid.layers.create_parameter(shape=[200], dtype='float32', name='fc_b')
              list_para  = fluid.io.get_program_parameter(  fluid.default_main_program() )
      """
      return list(filter(is_parameter, program.list_vars()))
function_tokens: def get_program_parameter ( program ) : return list ( filter ( is_parameter , program . list_vars ( ) ) )