src/transformers/models/oneformer/modeling_oneformer.py/OneFormerPixelDecoderEncoderOnly/__init__
class OneFormerPixelDecoderEncoderOnly:    def __init__(self, config: OneFormerConfig):
        super().__init__()

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