faiss.autotune

Undocumented in source.

Members

Aliases

FaissParameterRange
alias FaissParameterRange = FaissParameterRange_H
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FaissParameterSpace
alias FaissParameterSpace = FaissParameterSpace_H
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

faiss_ParameterRange_name
const(char)* faiss_ParameterRange_name(const(FaissParameterRange)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ParameterRange_values
void faiss_ParameterRange_values(FaissParameterRange* , double** , size_t* )

Getter for the values in the range. The output values are invalidated upon any other modification of the range.

faiss_ParameterSpace_add_range
int faiss_ParameterSpace_add_range(FaissParameterSpace* , const(char)* , FaissParameterRange** )

add a new parameter (or return it if it exists)

faiss_ParameterSpace_combination_name
int faiss_ParameterSpace_combination_name(const(FaissParameterSpace)* , size_t , char* , size_t )

get string representation of the combination by writing it to the given character buffer. A buffer size of 1000 ensures that the full name is collected.

faiss_ParameterSpace_display
void faiss_ParameterSpace_display(const(FaissParameterSpace)* )

print a description on stdout

faiss_ParameterSpace_free
void faiss_ParameterSpace_free(FaissParameterSpace* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_ParameterSpace_n_combinations
size_t faiss_ParameterSpace_n_combinations(const(FaissParameterSpace)* )

nb of combinations, = product of values sizes

faiss_ParameterSpace_new
int faiss_ParameterSpace_new(FaissParameterSpace** space)

Parameter space default constructor

faiss_ParameterSpace_set_index_parameter
int faiss_ParameterSpace_set_index_parameter(const(FaissParameterSpace)* , FaissIndex* , const(char)* , double )

set one of the parameters

faiss_ParameterSpace_set_index_parameters
int faiss_ParameterSpace_set_index_parameters(const(FaissParameterSpace)* , FaissIndex* , const(char)* )

set a combination of parameters described by a string

faiss_ParameterSpace_set_index_parameters_cno
int faiss_ParameterSpace_set_index_parameters_cno(const(FaissParameterSpace)* , FaissIndex* , size_t )

set a combination of parameters on an index

Structs

FaissParameterRange_H
struct FaissParameterRange_H

possible values of a parameter, sorted from least to most expensive/accurate

FaissParameterSpace_H
struct FaissParameterSpace_H

Uses a-priori knowledge on the Faiss indexes to extract tunable parameters.

Meta