src/transformers/models/mask2former/modeling_mask2former.py/Mask2FormerPixelDecoderEncoderOnly/__init__
class Mask2FormerPixelDecoderEncoderOnly:    def __init__(self, config: Mask2FormerConfig):
        super().__init__()

        self.config = config
        self.dropout = config.dropout
        self.layers = nn.ModuleList(
            [Mask2FormerPixelDecoderEncoderLayer(config) for _ in range(config.encoder_layers)]
        )