Struct faiss::CodePackerPQ4
-
struct CodePackerPQ4 : public faiss::CodePacker
CodePacker API for the PQ4 fast-scan
Public Functions
-
CodePackerPQ4(size_t nsq, size_t bbs)
-
virtual void pack_1(const uint8_t *flat_code, size_t offset, uint8_t *block) const final
-
virtual void unpack_1(const uint8_t *block, size_t offset, uint8_t *flat_code) const final
-
virtual void pack_all(const uint8_t *flat_codes, uint8_t *block) const
-
virtual void unpack_all(const uint8_t *block, uint8_t *flat_codes) const
Public Members
-
size_t nsq
-
size_t code_size
-
size_t nvec
-
size_t block_size
-
CodePackerPQ4(size_t nsq, size_t bbs)