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

Function serialize

tools/python/src/sequence_segmenter.cpp:319–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void serialize ( const segmenter_params& item, std::ostream& out)
320{
321 serialize(item.use_BIO_model, out);
322 serialize(item.use_high_order_features, out);
323 serialize(item.allow_negative_weights, out);
324 serialize(item.window_size, out);
325 serialize(item.num_threads, out);
326 serialize(item.epsilon, out);
327 serialize(item.max_cache_size, out);
328 serialize(item.be_verbose, out);
329 serialize(item.C, out);
330}
331
332void deserialize (segmenter_params& item, std::istream& in)
333{

Callers 2

serializeMethod · 0.70
serializeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected