aboutsummaryrefslogtreecommitdiff
path: root/src/nn.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-07-13 22:33:26 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-07-13 22:33:26 -0500
commitf2cf742719445a6ac7cea17043d3adbcbc247883 (patch)
tree7282c47ff8c63a436dd83fc77e2c17e58bf2e5d2 /src/nn.h
parentbd74d6e1842eca74ddc2c268ae9f83e43822fc1b (diff)
add: json_read improved
Diffstat (limited to 'src/nn.h')
-rw-r--r--src/nn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nn.h b/src/nn.h
index 4a47e63..88b4462 100644
--- a/src/nn.h
+++ b/src/nn.h
@@ -15,7 +15,7 @@ typedef struct Layer {
size_t neurons, input_nodes;
} Layer;
-void nn_layer_init_weights(Layer *layer, size_t nmemb, size_t input_size);
+void nn_layer_init_weights(Layer *layer, size_t nmemb, size_t input_cols);
void nn_layer_free_weights(Layer *layer, size_t nmemb);
double * nn_layer_forward(Layer layer, double *input, size_t input_shape[2]); //TODO
Feel free to download, copy and edit any repo