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

Method get

src/parameter/shared_parameter.h:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 return msg->task.mutable_shared_para();
57 }
58 static CallSharedPara get(const MessagePtr& msg) {
59 CHECK_EQ(msg->task.type(), Task::CALL_CUSTOMER);
60 CHECK(msg->task.has_shared_para());
61 return msg->task.shared_para();
62 }
63 protected:
64 // fill the values specified by the key lists in msg
65 virtual void getValue(const MessagePtr& msg) = 0;

Callers 1

setValueMethod · 0.45

Calls 2

has_shared_paraMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected