MCPcopy Create free account
hub / github.com/dmlc/xgboost / InvalidModel

Function InvalidModel

src/common/error_msg.cc:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22[[nodiscard]] std::string InvalidModel(StringView fname) {
23 std::stringstream ss;
24 ss << "Invalid model format in: `" << fname << "`.";
25 return ss.str();
26}
27
28[[nodiscard]] std::string OldBinaryModel(StringView fname) {
29 std::stringstream ss;

Callers 1

XGBoosterLoadModelFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected