We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699684c commit 9c192cfCopy full SHA for 9c192cf
tools/mtmd/mtmd.h
@@ -203,6 +203,8 @@ MTMD_API int32_t mtmd_encode_chunk(mtmd_context * ctx,
203
const mtmd_input_chunk * chunk);
204
205
// get output embeddings from the last encode pass
206
+// the reading size (in bytes) is equal to:
207
+// llama_model_n_embd(model) * mtmd_input_chunk_get_n_tokens(chunk) * sizeof(float)
208
MTMD_API float * mtmd_get_output_embd(mtmd_context * ctx);
209
210
/////////////////////////////////////////
0 commit comments