|
kodama-cpp
Standalone float32 KODAMA kernels for CPU, CUDA, and Apple Metal
|
#include <kodama.hpp>
Public Attributes | |
| FoldOptions | cv |
| int | k = 10 |
| DistanceMetric | metric = DistanceMetric::Cosine |
| Backend | backend = Backend::CPU |
| KNNIndexType | index_type = KNNIndexType::NativeHNSW |
| int | ivf_nlist = 0 |
| int | ivf_nprobe = 0 |
| int | hnsw_m = 0 |
| int | hnsw_ef_construction = 0 |
| int | hnsw_ef_search = 0 |
| int | hnsw_tune_k = 50 |
| double | hnsw_target_recall = 0.99 |
| int | gpu_device = 0 |
| int | n_threads = 1 |
Definition at line 151 of file kodama.hpp.
| Backend kodama::KNNOptions::backend = Backend::CPU |
Definition at line 155 of file kodama.hpp.
| FoldOptions kodama::KNNOptions::cv |
Definition at line 152 of file kodama.hpp.
| int kodama::KNNOptions::gpu_device = 0 |
Definition at line 164 of file kodama.hpp.
| int kodama::KNNOptions::hnsw_ef_construction = 0 |
Definition at line 160 of file kodama.hpp.
| int kodama::KNNOptions::hnsw_ef_search = 0 |
Definition at line 161 of file kodama.hpp.
| int kodama::KNNOptions::hnsw_m = 0 |
Definition at line 159 of file kodama.hpp.
| double kodama::KNNOptions::hnsw_target_recall = 0.99 |
Definition at line 163 of file kodama.hpp.
| int kodama::KNNOptions::hnsw_tune_k = 50 |
Definition at line 162 of file kodama.hpp.
| KNNIndexType kodama::KNNOptions::index_type = KNNIndexType::NativeHNSW |
Definition at line 156 of file kodama.hpp.
| int kodama::KNNOptions::ivf_nlist = 0 |
Definition at line 157 of file kodama.hpp.
| int kodama::KNNOptions::ivf_nprobe = 0 |
Definition at line 158 of file kodama.hpp.
| int kodama::KNNOptions::k = 10 |
Definition at line 153 of file kodama.hpp.
| DistanceMetric kodama::KNNOptions::metric = DistanceMetric::Cosine |
Definition at line 154 of file kodama.hpp.
| int kodama::KNNOptions::n_threads = 1 |
Definition at line 165 of file kodama.hpp.