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

Method keyRange

src/system/remote_node.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 const NodeID& id() { return node_.id(); }
24 typename Node::Role role() { return node_.role(); }
25 Range<Key> keyRange() { return Range<Key>(node_.key()); }
26 // return number of node in this group or 1 otherwise
27 int size();
28

Callers 1

addSubNodeMethod · 0.45

Calls 1

keyMethod · 0.80

Tested by

no test coverage detected