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

Method range

src/util/shared_array.h:114–116  ·  view source on GitHub ↗

Others Assume values are ordered, return the value range.

Source from the content-addressed store, hash-verified

112 // Others
113 // Assume values are ordered, return the value range.
114 Range<V> range() const {
115 return (empty() ? Range<V>(0,0) : Range<V>(front(), back()+1));
116 }
117 V* data() const { return data_; }
118 const shared_ptr<void>& pointer() const { return ptr_; }
119 // number of non-zero entries

Callers 1

parallelOrderedMatchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected