MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / has_pooling

Function has_pooling

examples/debug/debug.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37static bool has_pooling(llama_context * ctx) {
38 switch (llama_pooling_type(ctx)) {
39 case LLAMA_POOLING_TYPE_NONE:
40 case LLAMA_POOLING_TYPE_UNSPECIFIED:
41 return false;
42 default:
43 return true;
44 }
45}
46
47struct output_data {
48 float * data_ptr = nullptr;

Callers 1

output_dataMethod · 0.85

Calls 1

llama_pooling_typeEnum · 0.50

Tested by

no test coverage detected