Function faiss_sys::faiss_IndexIDMap_sub_index
source · pub unsafe extern "C" fn faiss_IndexIDMap_sub_index(
index: *mut FaissIndexIDMap
) -> *mut FaissIndex
Expand description
get a pointer to the sub-index (the index
field).
The outputs of this function become invalid after any operation that can
modify the index.
@param index opaque pointer to index object