MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / LoadModelFromString

Method LoadModelFromString

src/c_api.cpp:356–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354 }
355
356 void LoadModelFromString(const char* model_str) {
357 size_t len = std::strlen(model_str);
358 boosting_->LoadModelFromString(model_str, len);
359 }
360
361 std::string SaveModelToString(int start_iteration, int num_iteration) {
362 return boosting_->SaveModelToString(start_iteration, num_iteration);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected