Rakesh Jasti
2017-04-26 c3b9e4453884f9e44761987fce3b9c6a3dae447b
src/layer.c
@@ -28,8 +28,8 @@
#ifdef GPU
    if(l.indexes_gpu)          cuda_free((float *)l.indexes_gpu);
    if(l.weights_gpu)          cuda_free(l.weights_gpu);
    if(l.weight_updates_gpu)   cuda_free(l.weight_updates_gpu);
    //if(l.weights_gpu)          cuda_free(l.weights_gpu);        // duplicated
    //if(l.weight_updates_gpu)   cuda_free(l.weight_updates_gpu); // duplicated
    if(l.col_image_gpu)        cuda_free(l.col_image_gpu);
    if(l.weights_gpu)          cuda_free(l.weights_gpu);
    if(l.biases_gpu)           cuda_free(l.biases_gpu);