mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +00:00
Merge branch 'master' of github.com:nodchip/Stockfish
This commit is contained in:
commit
c7884470fb
2 changed files with 6 additions and 0 deletions
|
@ -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度呼び出すことは想定していない。
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue