Skip to content

Commit

Permalink
bench 10822642
Browse files Browse the repository at this point in the history
  • Loading branch information
rn5f107s2 committed Dec 25, 2024
1 parent e0a56f7 commit c6b0597
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ OBJ_DIR=build
MOLY_DIR=src
CXX=clang++

DEFAULT_NET_NAME=mcabBaseline-40.bin
DEFAULT_NET_NAME=k64.nnue

DEFAULT_EXE = $(OBJ_DIR)/Molybdenum
DATAGEN_EXE = $(OBJ_DIR)/Datagen
Expand Down
Binary file added src/Nets/k64.nnue
Binary file not shown.
4 changes: 2 additions & 2 deletions src/nnue.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ enum Toggle {
};

static const int INPUT_SIZE = 12 * 64;
static const int L1_SIZE = 32;
static const int L1_SIZE = 64;
static const int OUTPUT_SIZE = 1;
static const int NET_SIZE = 3;
static const std::array<int, NET_SIZE> LAYER_SIZE = {INPUT_SIZE, L1_SIZE, OUTPUT_SIZE};
Expand Down Expand Up @@ -52,7 +52,7 @@ inline int screlu(int16_t input) {

template<Color C> inline
int index(int pc, int sq) {
int square = C ? sq : sq ^ 56;
int square = C ? sq ^ 7 : sq ^ 63;
int piece = C ? pc : makePiece(typeOf(pc), !colorOf(pc));

return piece * 64 + square;
Expand Down

0 comments on commit c6b0597

Please sign in to comment.