MCPcopy Create free account
hub / github.com/dblalock/bolt / params

Method params

experiments/python/main.py:130–132  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 return "PQ_{}x{}b".format(self.nsubvects, self.code_bits)
129
130 def params(self):
131 return {'_algo': 'PQ', '_ncodebooks': self.nsubvects,
132 '_code_bits': self.code_bits}
133
134 def encode_X(self, X, **sink):
135 idxs = pq._encode_X_pq(X, codebooks=self.centroids)

Callers 1

encoder_paramsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected