Skip to main content

Module hyperdim_ops

Module hyperdim_ops 

Source
Expand description

Hyperdimensional computing operations and trait abstractions.

Contains the Hypervector trait definition, its implementation for HVec10240, and scalar helper functions used by the bundle algorithm.

Constants§

BUNDLE_MAX_PLANES
Max bit-planes for bit-sliced bundle accumulation.

Traits§

Hypervector
Common interface for hypervectors

Functions§

bundle_word_scalar
Scalar bit-sliced addition for a single u128 word (HVec).
bundle_word_u64
Bit-sliced majority for a single u64 word (BHVec).