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

Method dot_prods

python/bolt/bolt_api.py:373–376  ·  view source on GitHub ↗
(self, q)

Source from the content-addressed store, hash-verified

371 # return dists_cpp
372
373 def dot_prods(self, q):
374 lut = _fit_pq_lut(q, centroids=self.centroids,
375 elemwise_dist_func=dists_elemwise_dot)
376 return self._dists(lut)
377
378
379class Reductions:

Callers

nothing calls this directly

Calls 2

_distsMethod · 0.95
_fit_pq_lutFunction · 0.70

Tested by

no test coverage detected