src/transformers/models/xglm/modeling_flax_xglm.py/FlaxXGLMAttention/_merge_heads
class FlaxXGLMAttention:    def _merge_heads(self, hidden_states):
        return hidden_states.reshape(hidden_states.shape[:2] + (self.embed_dim,))