Commit Graph

3 Commits (dcbf33c525cd79e1cdd05d1a6fa5092829bd7cb4)

Author SHA1 Message Date
Alexander Andreev 14ddbc2911 Add faiss_pairwise_L2sqr_with_defaults into C_API (#2067)
Summary:
fixes https://github.com/facebookresearch/faiss/issues/2060

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2067

Reviewed By: beauby

Differential Revision: D31228802

Pulled By: mdouze

fbshipit-source-id: 1cb7df125ad47ccfa5169a10504d588b52eacdf7
2021-10-07 03:43:57 -07:00
Arvin Qin 9c4d6262b3 MOD: add some cpp feature, like distance/norm/inner prod computations (#2036)
Summary:
I want to invoke norm  computations by using CGO, but I find some functions which have been implemented in cpp are not exported in c api, so I commit the PR to solve the problem.

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2036

Reviewed By: beauby

Differential Revision: D30762172

Pulled By: mdouze

fbshipit-source-id: 097b32f29658c1864bd794734daaef0dd75d17ef
2021-09-06 09:07:12 -07:00
Alexander Andreev f6d2efd1df Cover more types for C_API (#1917)
Summary:
Exported some global variables and statistics.
Supported downcast for IndexIDMap and IndexIDMap2 from faiss::Index
Fixes https://github.com/facebookresearch/faiss/issues/1863

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1917

Reviewed By: beauby

Differential Revision: D28834039

Pulled By: mdouze

fbshipit-source-id: c1f7739dcdc23055780ebc665082609641dff861
2021-06-08 15:34:05 -07:00