summaryrefslogtreecommitdiff
path: root/include/ct1973.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-12 00:10:12 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit2fb71fcbc594c3a3f32ee0c95be2e4e9b9ae97df (patch)
tree8e72cf51acd86f1c0a40697c5b6c1fda081a34c5 /include/ct1973.h
parent0ed59835decdc839d58463cc16441be7a4cb36e2 (diff)
This finally works!
Diffstat (limited to 'include/ct1973.h')
-rw-r--r--include/ct1973.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/include/ct1973.h b/include/ct1973.h
index e1bb717..6350ff3 100644
--- a/include/ct1973.h
+++ b/include/ct1973.h
@@ -1,25 +1,7 @@
#include <stdint.h>
#include <math.h>
#include "tak.h"
-
-#define KERN_NUM 12
-#define KERN_CHAN 8
-#define KERN_SIZE 3
-#define KERN_OSIZE (5-KERN_SIZE+1)
-#define CONV_NUM (KERN_NUM * KERN_OSIZE * KERN_OSIZE)
-
-#define DENSE1_NUM 9
-#define DENSE2_NUM 8
-#define OUTPUT_NUM 2
-
-extern const float conv2d_weights[KERN_SIZE][KERN_SIZE][KERN_CHAN][KERN_NUM];
-extern const float conv2d_biases[KERN_NUM];
-extern const float dense1_weights[CONV_NUM+2][DENSE1_NUM];
-extern const float dense1_biases[DENSE1_NUM];
-extern const float dense2_weights[DENSE1_NUM][DENSE2_NUM];
-extern const float dense2_biases[DENSE2_NUM];
-extern const float output_weights[DENSE2_NUM][OUTPUT_NUM];
-extern const float output_biases[2];
+#include "weights.h"
float
evaluate_black_win(void);