(self, nbytes)
| 238 | """Stand-in for cpp impl; only for debuging""" |
| 239 | |
| 240 | def __init__(self, nbytes): |
| 241 | self._enc_bytes = nbytes |
| 242 | self.ncodebooks = 2 * nbytes |
| 243 | self._encoder = bolt.BoltEncoder(nbytes) |
| 244 | |
| 245 | def set_centroids(self, centroids): |
| 246 | # accept centroids as 2D array like cpp; but we'll need them 3D |
nothing calls this directly
no test coverage detected