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

Function UpdateDistributed

library/cpp/par/par_util.h:228–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227 template <typename TDataUpdater>
228 void UpdateDistributed(
229 int partsCount,
230 IEnvironment* sourceEnvironment,
231 const TDataUpdater& dataUpdater,
232 IEnvironment* targetEnvironment) {
233 CHROMIUM_TRACE_FUNCTION();
234 TVector<TDataLocation> targetLocations;
235 CalcDistributed(partsCount, sourceEnvironment, dataUpdater, &targetLocations);
236 targetEnvironment->SetContextData(targetLocations);
237 }
238}

Callers

nothing calls this directly

Calls 2

CalcDistributedFunction · 0.85
SetContextDataMethod · 0.45

Tested by

no test coverage detected