mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Minor fix
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user