diff --git a/src/evaluate.h b/src/evaluate.h index b4f54a381..226170e12 100644 --- a/src/evaluate.h +++ b/src/evaluate.h @@ -33,7 +33,7 @@ namespace Eval { // for the build process (profile-build and fishtest) to work. Do not change the // name of the macro or the location where this macro is defined, as it is used // in the Makefile/Fishtest. -#define EvalFileDefaultNameBig "nn-c288c895ea92.nnue" +#define EvalFileDefaultNameBig "nn-3dd094f3dfcf.nnue" #define EvalFileDefaultNameSmall "nn-37f18f62d772.nnue" namespace NNUE { diff --git a/src/nnue/features/full_threats.h b/src/nnue/features/full_threats.h index 5b2582954..a71368ad4 100644 --- a/src/nnue/features/full_threats.h +++ b/src/nnue/features/full_threats.h @@ -30,8 +30,8 @@ class Position; namespace Stockfish::Eval::NNUE::Features { -static constexpr int numValidTargets[PIECE_NB] = {0, 6, 12, 10, 10, 12, 8, 0, - 0, 6, 12, 10, 10, 12, 8, 0}; +static constexpr int numValidTargets[PIECE_NB] = {0, 6, 10, 8, 8, 10, 8, 0, + 0, 6, 10, 8, 8, 10, 8, 0}; class FullThreats { public: @@ -42,7 +42,7 @@ class FullThreats { static constexpr std::uint32_t HashValue = 0x8f234cb8u; // Number of feature dimensions - static constexpr IndexType Dimensions = 79856; + static constexpr IndexType Dimensions = 66864; // clang-format off // Orient a square according to perspective (rotates by 180 for black) @@ -59,10 +59,10 @@ class FullThreats { static constexpr int map[PIECE_TYPE_NB-2][PIECE_TYPE_NB-2] = { {0, 1, -1, 2, -1, -1}, - {0, 1, 2, 3, 4, 5}, - {0, 1, 2, 3, -1, 4}, - {0, 1, 2, 3, -1, 4}, - {0, 1, 2, 3, 4, 5}, + {0, 1, 2, 3, 4, -1}, + {0, 1, 2, 3, -1, -1}, + {0, 1, 2, 3, -1, -1}, + {0, 1, 2, 3, 4, -1}, {0, 1, 2, 3, -1, -1} }; // clang-format on