mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 23:26:25 +01:00
Correction of a free issue
This commit is contained in:
parent
be8f1bb5cb
commit
1d0bc02f7b
@ -78,11 +78,8 @@ void free_dense(Network* network, int pos) {
|
||||
|
||||
void free_network_creation(Network* network) {
|
||||
free_a_cube_input_layer(network, 0, network->depth[0], network->width[0]);
|
||||
|
||||
for (int i=0; i < network->max_size; i++) {
|
||||
free(network->dim[i]);
|
||||
}
|
||||
free(network->dim);
|
||||
free(network->width);
|
||||
free(network->depth);
|
||||
|
||||
free(network->kernel);
|
||||
free(network->input);
|
||||
|
Loading…
Reference in New Issue
Block a user