]> git.sesse.net Git - stockfish/commit - src/nnue/nnue_feature_transformer.h
Expose the lazy threshold for the feature transformer PSQT as a parameter.
authorTomasz Sobczyk <tomasz.sobczyk1997@gmail.com>
Tue, 25 May 2021 11:09:40 +0000 (13:09 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 25 May 2021 19:40:51 +0000 (21:40 +0200)
commit9d53129075177cb11b63b43236556051ba60f7dd
tree1faee2df9edaf07f6319e70141b674ca9b64477f
parente044068b435c0088171a2d02ad24a049354e6a5e
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
src/evaluate.cpp
src/evaluate.h
src/nnue/evaluate_nnue.cpp
src/nnue/nnue_feature_transformer.h