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,
            **kwargs)
Pack all blocks in a stage into a ``ResLayer``
ControlNet-v1-1-nightly/annotator/uniformer/mmseg/models/backbones/resnext.py