mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
hate warnings
This commit is contained in:
@ -392,6 +392,11 @@ void set_batch_network(network *net, int b)
|
||||
int i;
|
||||
for(i = 0; i < net->n; ++i){
|
||||
net->layers[i].batch = b;
|
||||
#ifdef CUDNN
|
||||
if(net->layers[i].type == CONVOLUTIONAL){
|
||||
cudnn_convolutional_setup(net->layers + i);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user