MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / read_fvecs

Function read_fvecs

python/utils/io.py:13–14  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

11 return a.reshape(-1, d + 1)[:, 1:]
12
13
14def read_fvecs(filename):
15 return read_ivecs(filename).view("float32")
16
17

Callers 1

ivf.pyFile · 0.90

Calls 1

read_ivecsFunction · 0.70

Tested by

no test coverage detected