src/transformers/models/oneformer/modeling_oneformer.py/OneFormerTextContextDecoder/forward
class OneFormerTextContextDecoder:    def forward(self, text, visual):
        visual = self.memory_proj(visual)
        hidden_state = self.text_proj(text)

        for layer in self.decoder:
            hidden_state = layer(hidden_state, visual)

        return self.out_proj(hidden_state)