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

Method writeToBinFile

src/util/sparse_matrix.h:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 string debugString() const;
47
48 bool writeToBinFile(string name) const {
49 return (writeProtoToASCIIFile(info_, name+".info") &&
50 offset_.writeToFile(name+".offset") &&
51 index_.writeToFile(name+".index") &&
52 (binary() || value_.writeToFile(name+".value")));
53 }
54
55 MatrixPtr<V> colBlock(SizeR range) const;
56 MatrixPtr<V> rowBlock(SizeR range) const;

Callers

nothing calls this directly

Calls 2

writeProtoToASCIIFileFunction · 0.85
writeToFileMethod · 0.45

Tested by

no test coverage detected