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/weights_6.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/weights_6.h (limited to 'include/weights_6.h') diff --git a/include/weights_6.h b/include/weights_6.h new file mode 100644 index 0000000..8da555d --- /dev/null +++ b/include/weights_6.h @@ -0,0 +1,24 @@ +/* + 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 . +*/ + +#define SIX_INP_NUM (3 + 6 * 6) +#define SIX_DENSE_NUM 64 + +extern const float six_dense_weights[SIX_DENSE_NUM][SIX_INP_NUM]; +extern const float six_dense_biases[SIX_DENSE_NUM]; +extern const float six_output_weights[2][SIX_DENSE_NUM]; +extern const float six_output_bias[2]; -- cgit v1.2.3