diff options
Diffstat (limited to 'common/common.h')
-rw-r--r-- | common/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h index 977ce419..f8d82b87 100644 --- a/common/common.h +++ b/common/common.h @@ -260,3 +260,10 @@ void dump_kv_cache_view(const llama_kv_cache_view & view, int row_size = 80); // Dump the KV cache view showing individual sequences in each cell (long output). void dump_kv_cache_view_seqs(const llama_kv_cache_view & view, int row_size = 40); + +// +// Embedding utils +// + +void llama_embd_normalize(const float * inp, float * out, int n); + |