diff --git a/src/evaluate.h b/src/evaluate.h index 226170e12..8a60ce238 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-3dd094f3dfcf.nnue" +#define EvalFileDefaultNameBig "nn-7e1657811c6d.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 a71368ad4..c6771687c 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, 10, 8, 8, 10, 8, 0, - 0, 6, 10, 8, 8, 10, 8, 0}; +static constexpr int numValidTargets[PIECE_NB] = {0, 6, 10, 8, 8, 10, 0, 0, + 0, 6, 10, 8, 8, 10, 0, 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 = 66864; + static constexpr IndexType Dimensions = 60144; // clang-format off // Orient a square according to perspective (rotates by 180 for black) @@ -58,12 +58,12 @@ 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, -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} + { 0, 1, -1, 2, -1, -1}, + { 0, 1, 2, 3, 4, -1}, + { 0, 1, 2, 3, -1, -1}, + { 0, 1, 2, 3, -1, -1}, + { 0, 1, 2, 3, 4, -1}, + {-1, -1, -1, -1, -1, -1} }; // clang-format on