Moved L1 distance to halfutils [skip ci]

This commit is contained in:
Andrew Kane
2024-04-22 13:19:42 -07:00
parent f9c071a761
commit f9941c2992
3 changed files with 16 additions and 8 deletions

View File

@@ -13,6 +13,7 @@
extern float (*HalfvecL2SquaredDistance) (int dim, half * ax, half * bx);
extern float (*HalfvecInnerProduct) (int dim, half * ax, half * bx);
extern double (*HalfvecCosineSimilarity) (int dim, half * ax, half * bx);
extern float (*HalfvecL1Distance) (int dim, half * ax, half * bx);
void HalfvecInit(void);