aboutsummaryrefslogtreecommitdiff
path: root/src/nn.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-07-28 09:29:18 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-07-28 09:29:18 -0500
commit1503fc83991237fa0cf6eb42b0ca1a4904cf8a01 (patch)
treebea34a7dd81b469085bbc8cb7a403a92cf46c974 /src/nn.h
parente9b26e6cae80a089f6b969226a968f5b79a7820b (diff)
add: network forward pass implemented
Diffstat (limited to 'src/nn.h')
-rw-r--r--src/nn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nn.h b/src/nn.h
index d66fabc..a339dfc 100644
--- a/src/nn.h
+++ b/src/nn.h
@@ -24,4 +24,7 @@ void nn_layer_backward(Layer *layer, double *out, size_t out_shape[2]); //TODO
double sigmoid(double x);
double relu(double x);
double identity(double x);
+
+
+void nn_forward(double **out, double *input, size_t input_shape[2], Layer network[], size_t network_size);
#endif
Feel free to download, copy and edit any repo