src/transformers/models/mask2former/modeling_mask2former.py/Mask2FormerModel/__init__
class Mask2FormerModel:    def __init__(self, config: Mask2FormerConfig):
        super().__init__(config)
        self.pixel_level_module = Mask2FormerPixelLevelModule(config)
        self.transformer_module = Mask2FormerTransformerModule(in_features=config.feature_size, config=config)

        self.post_init()