code: def _make_layer(self, block, setting):
      layers = []
      for t, c, n, s in setting:
          for i in range(n):
              if i == 0:
                  layers.append(block(self.cur_channel, c, s, t))
              else:
                  layers.append(block(self.cur_channel, c, 1, t))
              self.cur_channel = c
  
      return nn.Sequential(*layers)
  
file_path: insightface/recognition/arcface_paddle/dynamic/backbones/mobilefacenet.py
imports: import paddle
  from paddle import nn
  import math
label_desc: Use image node_id 2 for calling the MobileFaceNet obj's underlying member method code with example usage: obj._make_layer(block, setting) and returns: nn