Compile error fix

This commit is contained in:
AlexeyAB
2018-04-03 16:56:53 +03:00
parent 1b2c70f82a
commit be9d971ddb

View File

@ -775,8 +775,12 @@ void fuse_conv_batchnorm(network net)
} }
l->batch_normalize = 0; l->batch_normalize = 0;
#ifdef GPU
if (gpu_index >= 0) {
push_convolutional_layer(*l); push_convolutional_layer(*l);
} }
#endif
}
} }
else { else {
printf(" Skip layer: %d \n", l->type); printf(" Skip layer: %d \n", l->type);