Struct faiss::HammingComputer
-
template<int CODE_SIZE>
struct HammingComputer : public faiss::HammingComputerDefault Public Functions
-
inline HammingComputer(const uint8_t *a, int code_size)
-
inline void set(const uint8_t *a8_2, int code_size)
-
inline void set(const uint8_t *a8, int code_size)
-
inline int hamming(const uint8_t *b8) const
-
inline int hamming(const uint8_t *b8) const
-
inline int get_code_size() const
-
inline int get_code_size() const
Public Members
-
const uint8_t *a8
-
int quotient8
-
int remainder8
-
inline HammingComputer(const uint8_t *a, int code_size)