MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / clip_embd_nbytes

Function clip_embd_nbytes

examples/llava/clip.cpp:1082–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080}
1081
1082size_t clip_embd_nbytes(const struct clip_ctx * ctx) {
1083 return clip_n_patches(ctx) * clip_n_mmproj_embd(ctx) * sizeof(float);
1084}

Callers 2

process_imagesMethod · 0.50

Calls 2

clip_n_patchesFunction · 0.85
clip_n_mmproj_embdFunction · 0.70

Tested by

no test coverage detected