eval_nnueコマンド追加

This commit is contained in:
tttak
2020-06-22 00:35:09 +09:00
committed by nodchip
parent 33772a0418
commit 2d5c50d85b
2 changed files with 6 additions and 0 deletions

View File

@@ -400,6 +400,10 @@ void UCI::loop(int argc, char* argv[]) {
#endif
#if defined(EVAL_NNUE)
else if (token == "eval_nnue") sync_cout << "eval_nnue = " << Eval::compute_eval(pos) << sync_endl;
#endif
#if defined(EVAL_NNUE) && defined(ENABLE_TEST_CMD)
// <20>e<EFBFBD>X<EFBFBD>g<EFBFBD>R<EFBFBD>}<7D><><EFBFBD>h
else if (token == "test") test_cmd(pos, is);