Minor fix

This commit is contained in:
AlexeyAB
2019-03-28 00:11:16 +03:00
parent 7b1ef39607
commit f5fd086407
6 changed files with 30 additions and 19 deletions

View File

@ -269,7 +269,7 @@ void forward_crnn_layer_gpu(layer l, network_state state)
layer self_layer = *(l.self_layer);
layer output_layer = *(l.output_layer);
/*
#ifdef CUDNN_HALF // slow and bad for training
if (!state.train && state.net.cudnn_half) {
s.index = state.index;
@ -278,7 +278,6 @@ void forward_crnn_layer_gpu(layer l, network_state state)
cuda_convert_f32_to_f16(output_layer.weights_gpu, output_layer.c*output_layer.n*output_layer.size*output_layer.size, output_layer.weights_gpu16);
}
#endif //CUDNN_HALF
*/
if (state.train) {