MCPcopy Create free account
hub / github.com/catboost/catboost / LoadNonOwning

Method LoadNonOwning

catboost/libs/model/ctr_data.cpp:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void TCtrData::LoadNonOwning(TMemoryInput *in) {
36 const size_t cnt = ::LoadSize(in);
37 LearnCtrs.reserve(cnt);
38
39 for (size_t i = 0; i != cnt; ++i) {
40 TCtrValueTable table;
41 table.LoadThin(in);
42 LearnCtrs[table.ModelCtrBase] = std::move(table);
43 }
44}

Callers 1

InitNonOwningMethod · 0.45

Calls 4

LoadSizeFunction · 0.85
LoadThinMethod · 0.80
moveFunction · 0.50
reserveMethod · 0.45

Tested by

no test coverage detected