aboutsummaryrefslogtreecommitdiff
path: root/include/cnn1986.c
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-03-16 22:19:17 -0400
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit93387bf4b0cf54f8a84b13d4ad4751e7ef81a788 (patch)
treefff5eddcd1fb11c65c611977de2aba7bab27a9c3 /include/cnn1986.c
parent00a04c2929bdc8f8f4bf7d5d8cf413ebfb3cd006 (diff)
Snapshot: AMMEND ME
Diffstat (limited to 'include/cnn1986.c')
-rw-r--r--include/cnn1986.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/cnn1986.c b/include/cnn1986.c
index dc0e116..10f4e4c 100644
--- a/include/cnn1986.c
+++ b/include/cnn1986.c
@@ -16,7 +16,6 @@
*/
#include "cnn1986.h"
-#include "weights.h"
// ===================================================================
// Implementation of a small convolutional neural network
@@ -110,3 +109,13 @@ float cnn1986_evaluate_black_win(void) {
}
return output;
}
+
+// ===================================================================
+// Compute grad(cnn1986) with respect to the weights and biases
+// ===================================================================
+
+float cnn1986_gradient[NUM_PARAMETERS];
+
+void cnn1986_compute_gradient(void) {
+
+}