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

Function MyNode

src/ps.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28inline App* MyApp() { return PS::Postoffice::instance().app(); }
29
30inline Node MyNode() { return PS::Postoffice::instance().myNode(); }
31
32// Each node has an unique string id.
33inline std::string MyNodeID() { return MyNode().id(); }

Callers 4

MyNodeIDFunction · 0.85
IsWorkerFunction · 0.85
IsServerFunction · 0.85
IsSchedulerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected