| 104 | } |
| 105 | |
| 106 | friend void deserialize(loss_binary_hinge_& , std::istream& in) |
| 107 | { |
| 108 | std::string version; |
| 109 | deserialize(version, in); |
| 110 | if (version != "loss_binary_hinge_") |
| 111 | throw serialization_error("Unexpected version found while deserializing dlib::loss_binary_hinge_."); |
| 112 | } |
| 113 | |
| 114 | friend std::ostream& operator<<(std::ostream& out, const loss_binary_hinge_& ) |
| 115 | { |
nothing calls this directly
no test coverage detected