code: def _make_layer(
      self, block, planes, blocks, stride=1, gcb_config=None
  ):
      downsample = None
      if stride != 1 or self.inplanes != planes * block.expansion:
          downsample = nn.Sequential(
              nn.Conv2D(
                  self.inplanes,
                  planes * block.expansion,
                  kernel_size=1,
                  stride=stride,
                  bias_attr=False,
              ),
              nn.BatchNorm2D(planes * block.expansion),
          )
  
      layers = []
      layers.append(
          block(
              self.inplanes,
              planes,
              stride,
              downsample,
              gcb_config=gcb_config,
          )
      )
      self.inplanes = planes * block.expansion
      for _ in range(1, blocks):
          layers.append(block(self.inplanes, planes))
  
      return nn.Sequential(*layers)
  
file_path: PaddleOCR/ppocr/modeling/backbones/table_master_resnet.py
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 2 for calling the TableResNetExtra obj's underlying member method code with example usage: obj._make_layer(block, planes, blocks, stride, gcb_config) and returns: nn