Skip to content

Commit

Permalink
bench 10689858
Browse files Browse the repository at this point in the history
  • Loading branch information
rn5f107s2 committed Sep 16, 2024
1 parent 9550df5 commit 522a4a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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=paramsHl64.bin
DEFAULT_NET_NAME=params.bin

DEFAULT_EXE = $(OBJ_DIR)/Molybdenum
DATAGEN_EXE = $(OBJ_DIR)/Datagen
Expand Down
Binary file modified src/Nets/params.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion src/nnue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void Net::initAccumulator(std::array<u64, 13> &bitboards) {

int Net::calculate(Color c) {
float out = bias2[0];
std::array<float, 8> output = bias1;
std::array<float, L2_SIZE> output = bias1;

for (int n = 0; n < L1_SIZE; n++) {
for (int m = 0; m < L2_SIZE; m++) {
Expand Down
4 changes: 2 additions & 2 deletions src/nnue.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ enum Toggle {
};

static const int INPUT_SIZE = 12 * 64;
static const int L1_SIZE = 64;
static const int L2_SIZE = 8;
static const int L1_SIZE = 256;
static const int L2_SIZE = 4;
static const int OUT_SIZE = 1;

struct Weights {
Expand Down

0 comments on commit 522a4a2

Please sign in to comment.