MCPcopy Create free account
hub / github.com/dmlc/parameter_server / loadData

Method loadData

src/learner/bcd.h:316–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 virtual void evaluate(BCDProgress* prog) = 0;
315
316 void loadData(const DataConfig& data, ExampleInfo* info, int *hit_cache) {
317 *hit_cache = dataCache("train", true);
318 if (!(*hit_cache)) {
319 slot_reader_.init(data, bcd_conf_.local_cache());
320 slot_reader_.read(info);
321 }
322 }
323
324 virtual void preprocessData(int time, const BCDCall& call) {
325 int grp_size = call.fea_grp_size();

Callers

nothing calls this directly

Calls 2

initMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected