From 1503fc83991237fa0cf6eb42b0ca1a4904cf8a01 Mon Sep 17 00:00:00 2001 From: jvech Date: Fri, 28 Jul 2023 09:29:18 -0500 Subject: add: network forward pass implemented --- src/nn.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nn.h') 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 -- cgit v1.2.3-70-g09d2