MCPcopy Create free account
hub / github.com/davisking/dlib / serialize

Method serialize

examples/text_classification_ex.cpp:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 // the n-gram ranges and num_buckets are part of the code, so a saved object only makes
140 // sense to a program built with the same settings.
141 friend void serialize(const text_features& item, std::ostream& out)
142 {
143 serialize(item.words, out);
144 serialize(item.chars, out);
145 serialize(item.names, out);
146 }
147
148 friend void deserialize(text_features& item, std::istream& in)
149 {

Callers

nothing calls this directly

Calls 1

serializeFunction · 0.70

Tested by

no test coverage detected