pub unsafe extern "C" fn faiss_Index_add(
index: *mut FaissIndex,
n: idx_t,
x: *const f32,
) -> c_intExpand description
Add n vectors of dimension d to the index.
Vectors are implicitly assigned labels ntotal .. ntotal + n - 1 This function slices the input vectors in chunks smaller than blocksize_add and calls add_core. @param index opaque pointer to index object @param x input matrix, size n * d