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

Method BCDCommon

src/learner/bcd.h:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10class BCDCommon {
11 public:
12 BCDCommon(const BCDConfig& conf) : bcd_conf_(conf) {
13 if (!bcd_conf_.has_local_cache()) {
14 bcd_conf_.mutable_local_cache()->add_file("/tmp/bcd_");
15 }
16 }
17
18 virtual ~BCDCommon() { }
19 protected:

Callers

nothing calls this directly

Calls 3

has_local_cacheMethod · 0.80
add_fileMethod · 0.80
mutable_local_cacheMethod · 0.80

Tested by

no test coverage detected