diff options
| author | tslil clingman <tslil@posteo.de> | 2023-01-21 19:30:45 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 0e81096d5ecb6027814e7aae10b461e774f96407 (patch) | |
| tree | 6cedfe4b3fad3770a5210f5e5d5ad205c17f4b0f /include/nn.h | |
| parent | cb2b78ced27fc7996ed11c3450f69138d7d1b61f (diff) | |
might as well enable size 6
Same network architecture, same training principle. Predictably this is
too slow.
Also statically allocate state in driver programmes.
Diffstat (limited to 'include/nn.h')
| -rw-r--r-- | include/nn.h | 23 |
1 files changed, 23 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>. +*/ + +#include <tak.h> + +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); |
