diff options
Diffstat (limited to 'libffwd/vec.c')
| -rw-r--r-- | libffwd/vec.c | 8 |
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) |
