aboutsummaryrefslogtreecommitdiff
path: root/libffwd/vec.c
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-06-27 00:58:05 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-27 01:03:41 +0200
commitaf55803d0dff9eb692c760c8d486e736c945061d (patch)
tree0875a1112bf98304e445e0544c4309670d6f4769 /libffwd/vec.c
parent0f861b7f3098750ddee4f6570f3be228d1da5320 (diff)
downloadffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz
ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip
chore: clean up comment formatting and wording
Diffstat (limited to 'libffwd/vec.c')
-rw-r--r--libffwd/vec.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libffwd/vec.c b/libffwd/vec.c
index f848be0..ec6b27d 100644
--- a/libffwd/vec.c
+++ b/libffwd/vec.c
@@ -2,13 +2,7 @@
#include <math.h>
-/* ========================================================================
- * Vector helpers
- *
- * Standalone post-processing on embedding vectors: callers (CLI, server) use
- * these to L2-normalize outputs and to score pooled embeddings with cosine
- * similarity. They touch no model or tensor internals, only the public API.
- * ======================================================================== */
+/* Vector helpers */
int ffwd_l2_normalize(float *vec, int dim) {
if (!vec || dim <= 0)