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

Function read_fvecs

sample/python/utils.py:18–19  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

16
17
18def read_fvecs(filename: str) -> np.ndarray:
19 return read_ivecs(filename).view("float32")
20
21# ──────────────────────────────────────────────
22# Benchmarking utilities

Callers 6

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90

Calls 1

read_ivecsFunction · 0.70

Tested by

no test coverage detected