|
kodama-cpp
Standalone float32 KODAMA kernels for CPU, CUDA, and Apple Metal
|
#include <kodama.hpp>
Public Attributes | |
| Backend | backend = Backend::CPU |
| GraphWeightType | weight_type = GraphWeightType::Distance |
| DistanceMetric | metric = DistanceMetric::Euclidean |
| int | k = 30 |
| int | n_threads = 1 |
| int | n_iterations = 10 |
| int | random_walk_steps = 4 |
| int | target_clusters = 0 |
| int | gpu_device = 0 |
| double | prune = 0.0 |
| bool | mutual = false |
Definition at line 415 of file kodama.hpp.
| Backend kodama::GraphClusterOptions::backend = Backend::CPU |
Definition at line 416 of file kodama.hpp.
| int kodama::GraphClusterOptions::gpu_device = 0 |
Definition at line 424 of file kodama.hpp.
| int kodama::GraphClusterOptions::k = 30 |
Definition at line 419 of file kodama.hpp.
| DistanceMetric kodama::GraphClusterOptions::metric = DistanceMetric::Euclidean |
Definition at line 418 of file kodama.hpp.
| bool kodama::GraphClusterOptions::mutual = false |
Definition at line 426 of file kodama.hpp.
| int kodama::GraphClusterOptions::n_iterations = 10 |
Definition at line 421 of file kodama.hpp.
| int kodama::GraphClusterOptions::n_threads = 1 |
Definition at line 420 of file kodama.hpp.
| double kodama::GraphClusterOptions::prune = 0.0 |
Definition at line 425 of file kodama.hpp.
| int kodama::GraphClusterOptions::random_walk_steps = 4 |
Definition at line 422 of file kodama.hpp.
| int kodama::GraphClusterOptions::target_clusters = 0 |
Definition at line 423 of file kodama.hpp.
| GraphWeightType kodama::GraphClusterOptions::weight_type = GraphWeightType::Distance |
Definition at line 417 of file kodama.hpp.