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

Function serialize

dlib/svm/assignment_function.h:210–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 typename feature_extractor
209 >
210 void serialize (
211 const assignment_function<feature_extractor>& item,
212 std::ostream& out
213 )
214 {
215 int version = 2;
216 serialize(version, out);
217 serialize(item.get_feature_extractor(), out);
218 serialize(item.get_weights(), out);
219 serialize(item.get_bias(), out);
220 serialize(item.forces_assignment(), out);
221 }
222
223// ----------------------------------------------------------------------------------------
224

Callers

nothing calls this directly

Calls 3

get_biasMethod · 0.80
get_weightsMethod · 0.45
forces_assignmentMethod · 0.45

Tested by

no test coverage detected