Struct faiss::PermutationObjective
-
struct PermutationObjective
abstract class for the loss function
Subclassed by faiss::ReproduceDistancesObjective
Public Functions
-
virtual double compute_cost(const int *perm) const = 0
-
virtual double cost_update(const int *perm, int iw, int jw) const
-
inline virtual ~PermutationObjective()
Public Members
-
int n
-
virtual double compute_cost(const int *perm) const = 0