def make_res_layer(self, **kwargs):
        """Pack all blocks in a stage into a ``ResLayer``."""
        return ResLayer(
            groups=self.groups,
            base_width=self.base_width,
            base_channels=self.base_channels,
            radix=self.radix,
            reduction_factor=self.reduction_factor,
            avg_down_stride=self.avg_down_stride,
            **kwargs)
Pack all blocks in a stage into a ``ResLayer``.
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/resnest.py