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

Method mutable_local_cache

src/learner/proto/bcd.pb.h:1003–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001 return local_cache_ != NULL ? *local_cache_ : *default_instance_->local_cache_;
1002}
1003inline ::PS::DataConfig* BCDConfig::mutable_local_cache() {
1004 set_has_local_cache();
1005 if (local_cache_ == NULL) local_cache_ = new ::PS::DataConfig;
1006 return local_cache_;
1007}
1008inline ::PS::DataConfig* BCDConfig::release_local_cache() {
1009 clear_has_local_cache();
1010 ::PS::DataConfig* temp = local_cache_;

Callers 1

BCDCommonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected