src/transformers/models/bart/modeling_flax_bart.py/FlaxBartAttention/_split_heads
class FlaxBartAttention:    def _split_heads(self, hidden_states):
        return hidden_states.reshape(hidden_states.shape[:2] + (self.num_heads, self.head_dim))