Skip to main content

write_index_root

Function write_index_root 

Source
pub fn write_index_root(
    store: &ReadableWritableListableStorage,
    root_embeddings: &Array2<f32>,
    chunk_shape: &[u64],
    dtype: EmbeddingDtype,
) -> Result<()>
Expand description

Writes root_embeddings, the root node’s representatives, to index_root/embeddings as dtype.