From 1898add0142b70b3fef5af78a6f3d7399a3f2cd5 Mon Sep 17 00:00:00 2001 From: tslil Date: Wed, 16 Sep 2026 20:10:33 +0100 Subject: fix tt issue for non-self-play A little subtle, but in non-self-play games sharing tt entries is incorrect. We must therefore key additionally on the evaulation function itself. --- include/nn.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/nn.h') diff --git a/include/nn.h b/include/nn.h index 3a2277a..1d3eba0 100644 --- a/include/nn.h +++ b/include/nn.h @@ -41,6 +41,8 @@ int nn_last_cell_idxs(uint8_t *out, tak_state_p state); // Network // =================================================================== +typedef float (*nn_function)(tak_state_p); + float eval_net(const float *board, const unsigned int n_inp, const float *w, const float *biases, const float *logit_w, const float logit_b, const unsigned int n_dense, -- cgit v1.3.1