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

Method sum

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

Source from the content-addressed store, hash-verified

143
144
145 double sum() const { return eigenArray().sum(); }
146 double mean() const { return empty() ? 0 : sum() / (double)size(); }
147 double std() const {
148 return empty() ? 0 :

Callers 6

TESTFunction · 0.80
evaluateMethod · 0.80
evaluateMethod · 0.80
evaluateMethod · 0.80
computeGradientMethod · 0.80
showProgressMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64