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

Function deserialize

dlib/svm/function.h:94–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 typename K
93 >
94 void deserialize (
95 decision_function<K>& item,
96 std::istream& in
97 )
98 {
99 try
100 {
101 deserialize(item.alpha, in);
102 deserialize(item.b, in);
103 deserialize(item.kernel_function, in);
104 deserialize(item.basis_vectors, in);
105 }
106 catch (serialization_error& e)
107 {
108 throw serialization_error(e.info + "\n while deserializing object of type decision_function");
109 }
110 }
111
112// ----------------------------------------------------------------------------------------
113

Callers

nothing calls this directly

Calls 1

serialization_errorClass · 0.85

Tested by

no test coverage detected