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_5.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/weights_5.h (limited to 'include/weights_5.h') diff --git a/include/weights_5.h b/include/weights_5.h new file mode 100644 index 0000000..6f376ee --- /dev/null +++ b/include/weights_5.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 FIVE_INP_NUM 3 + 5 * 5 +#define FIVE_DENSE_NUM 64 + +extern const float five_dense_weights[FIVE_DENSE_NUM][FIVE_INP_NUM]; +extern const float five_dense_biases[FIVE_DENSE_NUM]; +extern const float five_output_weights[2][FIVE_DENSE_NUM]; +extern const float five_output_bias[2]; -- cgit v1.2.3