1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 01:03:09 +00:00

Merge branch 'master' of github.com:nodchip/Stockfish

This commit is contained in:
nodchip 2020-06-22 10:28:02 +09:00
commit c7884470fb
2 changed files with 6 additions and 0 deletions

View file

@ -35,6 +35,8 @@ Value evaluate(const Position& pos);
void evaluate_with_no_return(const Position& pos);
Value compute_eval(const Position& pos);
#if defined(EVAL_NNUE) || defined(EVAL_LEARN)
// 評価関数ファイルを読み込む。
// これは、"is_ready"コマンドの応答時に1度だけ呼び出される。2度呼び出すことは想定していない。

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)
// テストコマンド
else if (token == "test") test_cmd(pos, is);