Function faiss_sys::faiss_Index_reconstruct [] [src]

pub unsafe extern "C" fn faiss_Index_reconstruct(
    index: *const FaissIndex,
    key: idx_t,
    recons: *mut f32
) -> c_int

Reconstruct a stored vector (or an approximation if lossy coding)

this function may not be defined for some indexes @param index opaque pointer to index object @param key id of the vector to reconstruct @param recons reconstucted vector (size d)