Skip to main content

ternary_dot

Function ternary_dot 

Source
pub fn ternary_dot(a_hot: &[u8], b_hot: &[u8], dim: usize) -> i32
Expand description

Compute ternary dot product between two hot-packed byte slices.