mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Minor fix
This commit is contained in:
@ -54,6 +54,7 @@ void free_layer(layer l)
|
||||
if (l.r_cpu) free(l.r_cpu);
|
||||
if (l.h_cpu) free(l.h_cpu);
|
||||
if (l.binary_input) free(l.binary_input);
|
||||
if (l.loss) free(l.loss);
|
||||
|
||||
#ifdef GPU
|
||||
if (l.indexes_gpu) cuda_free((float *)l.indexes_gpu);
|
||||
|
Reference in New Issue
Block a user