mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Expose the lazy threshold for the feature transformer PSQT as a parameter.
Definition of the lazy threshold moved to evaluate.cpp where all others are. Lazy threshold only used for real searches, not used for the "eval" call. This preserves the purity of NNUE evaluation, which is useful to verify consistency between the engine and the NNUE trainer. closes https://github.com/official-stockfish/Stockfish/pull/3499 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
e044068b43
commit
9d53129075
@@ -43,7 +43,7 @@ namespace Eval {
|
||||
|
||||
namespace NNUE {
|
||||
|
||||
Value evaluate(const Position& pos, bool adjusted = false);
|
||||
Value evaluate(const Position& pos, bool adjusted = false, Value lazyThreshold = VALUE_INFINITE);
|
||||
bool load_eval(std::string name, std::istream& stream);
|
||||
bool save_eval(std::ostream& stream);
|
||||
void init();
|
||||
|
||||
Reference in New Issue
Block a user