Module distance

Source

Macrosยง

define_measure ๐Ÿ”’

Structsยง

CosineDistance
CosineDistanceMeasure
InnerProductDistance
InnerProductDistanceMeasure
L1Distance
L1DistanceMeasure
L2Distance
L2DistanceMeasure
Measure the l2 distance

Enumsยง

DistanceMeasurement

Functionsยง

inner_product_faiss ๐Ÿ”’
inner_product_simd ๐Ÿ”’
inner_product_trivial ๐Ÿ”’
l1_faiss ๐Ÿ”’
l1_trivial ๐Ÿ”’
l2_faiss ๐Ÿ”’
l2_trivial ๐Ÿ”’