Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvgAbsDiff512 ¶
AvgAbsDiff512 returns the average absolute difference across 512 dims as float32
func Cosine512 ¶
Cosine computes cosine similarity between normalized int8 vectors Assumes vectors are pre-normalized and quantized
func L2Squared512 ¶
L2Squared512 computes squared L2 distance between int8 vectors (optimized)
func SumAbsDiff512 ¶
SumAbsDiff512 computes sum of absolute differences (L1) between two int8 vectors (512-d) Returns the total L1 distance as int32.
Types ¶
Click to show internal directories.
Click to hide internal directories.