(self)
| 75 | return self.centroids.to(indices.device)[indices.long()] |
| 76 | |
| 77 | def __repr__(self) -> str: |
| 78 | return ( |
| 79 | f"LloydMaxCodebook(d={self.d}, bits={self.bits}, " |
| 80 | f"levels={self.n_levels})" |
| 81 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected