perf(memory): store holographic vectors as float32

This commit is contained in:
JabberELF
2026-05-22 23:41:30 +08:00
committed by kshitij
parent 54eafee30b
commit 958ffd1085
4 changed files with 237 additions and 20 deletions
+1 -1
View File
@@ -561,7 +561,7 @@ class MemoryStore:
self._conn.commit()
return
vectors = [hrr.bytes_to_phases(row["hrr_vector"]) for row in rows]
vectors = [hrr.bytes_to_phases(row["hrr_vector"], dim=self.hrr_dim) for row in rows]
bank_vector = hrr.bundle(*vectors)
fact_count = len(vectors)