diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-07-27 09:24:50 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-07-27 09:24:50 -0500 |
commit | d8905e0ef4c05f5cea9c6c00cede7492c770e152 (patch) | |
tree | e53094b7c0481a135ca3192233a90a75c5b0b105 /src/nn.h | |
parent | 7710efc305682f35cbc8d69d9b1e5739dbb89f0d (diff) |
fix: random weights generator bug fixed
Diffstat (limited to 'src/nn.h')
-rw-r--r-- | src/nn.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,8 @@ typedef struct Layer { size_t neurons, input_nodes; } Layer; -void nn_layer_init_weights(Layer *layers, size_t nmemb, size_t input_cols); -void nn_layer_free_weights(Layer *layer, size_t nmemb); +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_layer_forward(Layer layer, double *out, size_t out_shape[2], double *input, size_t input_shape[2]); //TODO void nn_layer_backward(Layer *layer, double *out, size_t out_shape[2]); //TODO |