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