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

Method fill

src/util/bitmap.h:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void fill(bool value) {
50 if (value)
51 memset(map_, 0xFF, map_size_*sizeof(uint16));
52 else
53 memset(map_, 0, map_size_*sizeof(uint16));
54 }
55
56 // TODO flip all bits
57 void flip() { }

Callers 2

updateModelMethod · 0.80
computeGradientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected