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

Method deserialize

dlib/dnn/layers.h:4882–4889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4880 }
4881
4882 friend void deserialize(l2normalize_& item, std::istream& in)
4883 {
4884 std::string version;
4885 deserialize(version, in);
4886 if (version != "l2normalize_")
4887 throw serialization_error("Unexpected version '"+version+"' found while deserializing dlib::l2normalize_.");
4888 deserialize(item.eps, in);
4889 }
4890
4891 friend std::ostream& operator<<(std::ostream& out, const l2normalize_& item)
4892 {

Callers

nothing calls this directly

Calls 2

serialization_errorClass · 0.85
deserializeFunction · 0.70

Tested by

no test coverage detected