src/transformers/models/oneformer/modeling_oneformer.py/OneFormerTextTransformerDecoderLayer/forward
class OneFormerTextTransformerDecoderLayer:    def forward(self, hidden_state, mem):
        q = k = v = self.norm1(hidden_state)
        hidden_state = hidden_state + self.self_attn(q, k, v)
        q = self.norm2(hidden_state)
        hidden_state = hidden_state + self.cross_attn(q, mem, mem)
        hidden_state = hidden_state + self.dropout(self.mlp(self.norm3(hidden_state)))
        return hidden_state