src/transformers/models/mbart/modeling_flax_mbart.py/FlaxMBartAttention/_merge_heads
class FlaxMBartAttention:    def _merge_heads(self, hidden_states):
        return hidden_states.reshape(hidden_states.shape[:2] + (self.embed_dim,))