def METHOD_NAME(self, planes, struct, stride):
    strides = [stride] + [1] * (struct - 1)
    blocks = []
    for stride in strides:
        blocks.append(
            RepVGGBlock(
                in_channels=self.in_planes,
                out_channels=planes,
                stride=stride,
                groups=1,
                build_residual_branches=self.build_residual_branches,
                activation_type=nn.ReLU,
                activation_kwargs=dict(inplace=True),
                se_type=SEBlock if self.use_se else nn.Identity,
                se_kwargs=dict(in_channels=self.in_planes, internal_neurons=self.in_planes // 16) if self.use_se else None,
            )
        )
        self.in_planes = planes
        self.cur_layer_idx += 1
    return nn.Sequential(*blocks)