| 1221 | } |
| 1222 | |
| 1223 | void exportModel() |
| 1224 | { |
| 1225 | auto modelPath = readPathFromInput(); |
| 1226 | std::ofstream modelFile(modelPath, std::ios::binary); |
| 1227 | if (!modelFile.is_open()) |
| 1228 | ERRORL("Unable to open weight file: " << modelPath); |
| 1229 | else |
| 1230 | Config::exportModel(modelFile); |
| 1231 | } |
| 1232 | |
| 1233 | void loadModel() |
| 1234 | { |
no test coverage detected