src/transformers/models/electra/modeling_flax_electra.py/FlaxElectraSelfAttention/_merge_heads
class FlaxElectraSelfAttention:    def _merge_heads(self, hidden_states):
        return hidden_states.reshape(hidden_states.shape[:2] + (self.config.hidden_size,))