Minor fixes

This commit is contained in:
AlexeyAB
2018-05-23 18:35:08 +03:00
parent ec68838342
commit eef9f8e5bb
5 changed files with 4 additions and 14 deletions

View File

@ -177,7 +177,7 @@ network make_network(int n)
net.n = n;
net.layers = calloc(net.n, sizeof(layer));
net.seen = calloc(1, sizeof(int));
#ifdef GPU
#ifdef GPU
net.input_gpu = calloc(1, sizeof(float *));
net.truth_gpu = calloc(1, sizeof(float *));
@ -185,7 +185,7 @@ network make_network(int n)
net.output16_gpu = calloc(1, sizeof(float *));
net.max_input16_size = calloc(1, sizeof(size_t));
net.max_output16_size = calloc(1, sizeof(size_t));
#endif
#endif
return net;
}