(self, n_part: int)
| 494 | return UnquantizedTensor(permute(self.ndarray[r * n_part : r * n_part + r, ...], n_head, n_head_kv)) |
| 495 | |
| 496 | def part(self, n_part: int) -> UnquantizedTensor: |
| 497 | r = self.ndarray.shape[0] // 3 |
| 498 | return UnquantizedTensor(self.ndarray[r * n_part : r * n_part + r, ...]) |
| 499 | |
| 500 | def permute(self, n_head: int, n_head_kv: int) -> UnquantizedTensor: |
| 501 | return UnquantizedTensor(permute(self.ndarray, n_head, n_head_kv)) |
nothing calls this directly
no test coverage detected