Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VectorDB-NTU/RaBitQ-Library
/ write_fvecs
Function
write_fvecs
python/utils/io.py:29–31 ·
view source on GitHub ↗
(filename, m)
Source
from the content-addressed store, hash-verified
27
print(f
"\t{filename} wrote"
)
28
29
30
def
write_fvecs(filename, m):
31
m = m.astype(
"float32"
)
32
write_ivecs(filename, m.view(
"int32"
))
33
34
Callers
1
ivf.py
File · 0.90
Calls
1
write_ivecs
Function · 0.85
Tested by
no test coverage detected