From 30dd1e327571c3ba9de8ee8740c607dcc0ece584 Mon Sep 17 00:00:00 2001 From: jvech Date: Sat, 12 Aug 2023 07:49:19 -0500 Subject: add: nn_network_predict done --- src/nn.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/nn.h') diff --git a/src/nn.h b/src/nn.h index 2fcf9be..9005364 100644 --- a/src/nn.h +++ b/src/nn.h @@ -29,6 +29,11 @@ typedef struct Layer { void nn_network_init_weights(Layer *network, size_t nmemb, size_t input_cols); void nn_network_free_weights(Layer *network, size_t nmemb); +void nn_network_predict( + double *out, size_t out_shape[2], + double *input, size_t input_shape[2], + Layer network[], size_t network_size); + void nn_network_train( Layer network[], size_t network_size, double *input, size_t input_shape[2], -- cgit v1.2.3-70-g09d2