-
Notifications
You must be signed in to change notification settings - Fork 0
/
faiss.yml
77 lines (76 loc) · 2.4 KB
/
faiss.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
GENERATOR:
PackageName: gofaiss
PackageDescription: ""
PackageLicense: ""
PkgConfigOpts: [ "faiss" ]
Includes: [ "faiss.h" ]
Options:
SafeStrings: true
PARSER:
IncludePaths: [ "/usr/local/include/faiss/c_api" ]
SourcesPaths: [
"AutoTune_c.h",
"Clustering_c.h",
"IndexFlat_c.h",
"IndexIVFFlat_c.h",
"IndexIVF_c.h",
"IndexLSH_c.h",
"IndexPreTransform_c.h",
"IndexReplicas_c.h",
"IndexScalarQuantizer_c.h",
"IndexShards_c.h",
"Index_c.h",
"MetaIndexes_c.h",
"VectorTransform_c.h",
"clone_index_c.h",
"error_c.h",
"faiss_c.h",
"index_factory_c.h",
"index_io_c.h",
"impl/AuxIndexStructures_c.h",
"utils/distances_c.h"
]
TRANSLATOR:
ConstRules:
defines: expand
enum: expand
PtrTips:
function:
- { target: "faiss_ParameterRange_values", default: "ref" }
- { target: "faiss_Clustering_centroids", default: "ref" }
- { target: "faiss_IndexFlat_xb", default: "ref" }
- { target: "faiss_IndexIDMap_id_map", default: "ref" }
- { target: "faiss_IndexIDMap2_id_map", default: "ref" }
- { target: "faiss_RangeSearchResult_lims", default: "ref" }
- { target: "faiss_RangeSearchResult_labels", default: "ref" }
- { target: "^faiss", default: "sref" }
MemTips:
- { target: "^faiss", default: "raw" }
Rules:
const:
- { action: accept, from: "^FAISS_" }
- { action: accept, from: "^faiss" }
- { action: accept, from: "^Faiss" }
- { action: accept, from: "^METRIC" }
- { action: accept, from: "^QT" }
- { action: accept, from: "EXCEPT$" }
- { action: accept, from: "^OK$" }
- { transform: export }
type:
- { action: accept, from: "^FAISS_" }
- { action: accept, from: "^faiss" }
- { action: replace, from: "^faiss" }
- { action: accept, from: "^Faiss" }
- { action: replace, from: "_t$" }
- { transform: export }
- { load: snakecase }
function:
- { action: ignore, from: "^faiss_IndexIVFScalarQuantizer_new$" }
- { action: ignore, from: "^faiss_IndexIVFScalarQuantizer_new_with$" }
- { action: ignore, from: "^faiss_write_index$" }
- { action: ignore, from: "^faiss_read_index$" }
- { action: accept, from: "^faiss" }
- { action: replace, from: "^faiss_" }
- { transform: export }
- { load: snakecase }