code: def make_layer(block, n_layers):
      layers = []
      for _ in range(n_layers):
          layers.append(block())
      return nn.Sequential(*layers)
  
imports: import functools
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 1 for calling a global function with example usage: make_layer(block, n_layers) and returns: nn