aboutsummaryrefslogtreecommitdiff
path: root/include/cnn1986.c
diff options
context:
space:
mode:
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) {
+
+}