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

Method merge

subprojects/llama.cpp/common/preset.cpp:160–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void common_preset::merge(const common_preset & other) {
161 for (const auto & [opt, val] : other.options) {
162 options[opt] = val; // overwrite existing options
163 }
164}
165
166void common_preset::apply_to_params(common_params & params) const {
167 for (const auto & [opt, val] : options) {

Callers 2

load_modelsMethod · 0.45
cascadeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected