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

Method deserialize

dlib/dnn/input.h:1140–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138 }
1139
1140 friend void deserialize(input_tensor&, std::istream& in)
1141 {
1142 std::string version;
1143 deserialize(version, in);
1144 if (version != "input_tensor")
1145 throw serialization_error("Unexpected version found while deserializing dlib::input_tensor.");
1146 }
1147
1148 friend std::ostream& operator<<(std::ostream& out, const input_tensor&)
1149 {

Callers

nothing calls this directly

Calls 2

serialization_errorClass · 0.85
deserializeFunction · 0.70

Tested by

no test coverage detected