MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / is_swa_any

Method is_swa_any

subprojects/llama.cpp/src/llama-hparams.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20bool llama_hparams::is_swa_any() const {
21 for (uint32_t il = 0; il < n_layer; ++il) {
22 if (swa_layers[il]) {
23 return true;
24 }
25 }
26
27 return false;
28}
29
30uint32_t llama_hparams::n_head(uint32_t il) const {
31 if (il < n_layer) {

Callers 2

print_infoMethod · 0.80
create_memoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected