Function faiss_sys::faiss_IndexIVF_copy_subset_to
[−]
[src]
pub unsafe extern "C" fn faiss_IndexIVF_copy_subset_to(
index: *const FaissIndexIVF,
other: *mut FaissIndexIVF,
subset_type: c_int,
a1: c_long,
a2: c_long
) -> c_int
copy a subset of the entries index to the other index
if subset_type == 0: copies ids in [a1, a2) if subset_type == 1: copies ids if id % a1 == a2 if subset_type == 2: copies inverted lists such that a1 elements are left before and a2 elements are after