From 0e81096d5ecb6027814e7aae10b461e774f96407 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sat, 21 Jan 2023 19:30:45 +0100 Subject: might as well enable size 6 Same network architecture, same training principle. Predictably this is too slow. Also statically allocate state in driver programmes. --- include/nn.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/nn.h (limited to 'include/nn.h') diff --git a/include/nn.h b/include/nn.h new file mode 100644 index 0000000..5d1bf15 --- /dev/null +++ b/include/nn.h @@ -0,0 +1,23 @@ +/* + This file is part of ct. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with ct. If not, see . +*/ + +#include + +typedef float (*nn_function)(tak_state_p); + +float nn1986_evaluate_black_win(tak_state_p state); +float nn2690_evaluate_black_win(tak_state_p state); -- cgit v1.2.3