Re-added the code to skip loading a net file.

This commit is contained in:
nodchip
2020-08-08 19:04:08 +09:00
parent 4f94f29f39
commit 22b85810fe

View File

@@ -184,6 +184,13 @@ namespace Eval::NNUE {
bool load_eval_file(const std::string& evalFile) {
Initialize();
if (Options["SkipLoadingEval"])
{
std::cout << "info string SkipLoadingEval set to true, Net not loaded!" << std::endl;
return true;
}
fileName = evalFile;
std::ifstream stream(evalFile, std::ios::binary);