parameters: (self)
docstring: Returns an iterator over immediate children layers.
  
          Yields:
              Layer: a child layer
  
          Examples:
              .. code-block:: python
  
                  import paddle
  
                  linear1 = paddle.nn.Linear(10, 3)
                  linear2 = paddle.nn.Linear(3, 10, bias_attr=False)
                  model = paddle.nn.Sequential(linear1, linear2)
  
                  layer_list = list(model.children())
  
                  print(layer_list)   # [<paddle.nn.layer.common.Linear object at 0x7f7b8113f830>, <paddle.nn.layer.common.Linear object at 0x7f7b8113f950>]
docstring_summary: Returns an iterator over immediate children layers.
docstring_tokens: Returns an iterator over immediate children layers .
function: def children(self):
          """Returns an iterator over immediate children layers.
  
          Yields:
              Layer: a child layer
  
          Examples:
              .. code-block:: python
  
                  import paddle
  
                  linear1 = paddle.nn.Linear(10, 3)
                  linear2 = paddle.nn.Linear(3, 10, bias_attr=False)
                  model = paddle.nn.Sequential(linear1, linear2)
  
                  layer_list = list(model.children())
  
                  print(layer_list)   # [<paddle.nn.layer.common.Linear object at 0x7f7b8113f830>, <paddle.nn.layer.common.Linear object at 0x7f7b8113f950>]
  
          """
          for _, layer in self.named_children():
              yield layer
function_tokens: def children ( self ) : for _ , layer in self . named_children ( ) : yield layer