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

Method UpdateDataDistrState

library/cpp/par/par_mr.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 return Parent->GetHostIdCount();
110 }
111 EDataDistrState UpdateDataDistrState(TVector<TVector<int>>* hostId2Computer) override {
112 if (hostId2Computer) {
113 hostId2Computer->resize(0);
114 hostId2Computer->resize(Parent->GetHostIdCount());
115 }
116 return Parent->UpdateDataDistrState(nullptr);
117 }
118 IUserContext* CreateLocalOnlyContext() override {
119 return this;
120 }

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.45
GetHostIdCountMethod · 0.45
UpdateDataDistrStateMethod · 0.45

Tested by

no test coverage detected