diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-08-12 07:49:19 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-08-12 07:49:19 -0500 |
commit | 30dd1e327571c3ba9de8ee8740c607dcc0ece584 (patch) | |
tree | b23595cbb7a68bb5689c21f2e1f959fdef4013fd /src/nn.h | |
parent | 4b2fec340e01d09902ca790621b476a05f4b8c2a (diff) |
add: nn_network_predict done
Diffstat (limited to 'src/nn.h')
-rw-r--r-- | src/nn.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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], |