Function faiss_sys::faiss_IndexIVFFlat_update_vectors [] [src]

pub unsafe extern "C" fn faiss_IndexIVFFlat_update_vectors(
    index: *mut FaissIndexIVFFlat,
    nv: c_int,
    idx: *mut idx_t,
    v: *const f32
) -> c_int

Update a subset of vectors.

The index must have a direct_map

@param nv nb of vectors to update @param idx vector indices to update, size nv @param v vectors of new values, size nv*d