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

Function deserialize

dlib/svm/kernel.h:90–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 typename T
89 >
90 void deserialize (
91 radial_basis_kernel<T>& item,
92 std::istream& in
93 )
94 {
95 typedef typename T::type scalar_type;
96 try
97 {
98 deserialize(const_cast<scalar_type&>(item.gamma), in);
99 }
100 catch (serialization_error& e)
101 {
102 throw serialization_error(e.info + "\n while deserializing object of type radial_basis_kernel");
103 }
104 }
105
106 template <
107 typename T

Callers

nothing calls this directly

Calls 1

serialization_errorClass · 0.85

Tested by

no test coverage detected