Attention
The vector search and clustering algorithms in RAFT are being migrated to a new library dedicated to vector search called cuVS. We will continue to support the vector search algorithms in RAFT during this move, but will no longer update them after the RAPIDS 24.06 (June) release. We plan to complete the migration by RAPIDS 24.08 (August) release.
Key-Value Pair
#include <raft/core/kvp.hpp>
namespace raft::core
-
template<typename _Key, typename _Value>
struct KeyValuePair
A key identifier paired with a corresponding value.
Public Types
-
typedef _Key Key
Key data type.
-
typedef _Value Value
Value data type.
Public Functions
-
KeyValuePair() = default
Constructor.
-
inline RAFT_INLINE_FUNCTION KeyValuePair(Key const &key, Value const &value)
Constructor.
-
inline RAFT_INLINE_FUNCTION bool operator!= (const KeyValuePair &b)
Inequality operator.
Public Members
-
Key key
Item key.
-
Value value
Item value.