mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Added fast_binarize_weights_gpu()
This commit is contained in:
@ -866,10 +866,10 @@ void calculate_binary_weights(network net)
|
||||
//if (l->size*l->size*l->c >= 2048) l->lda_align = 512;
|
||||
|
||||
binary_align_weights(l);
|
||||
}
|
||||
|
||||
if (net.layers[j].use_bin_output) {
|
||||
l->activation = LINEAR;
|
||||
if (net.layers[j].use_bin_output) {
|
||||
l->activation = LINEAR;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user