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