mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 23:26:25 +01:00
Fix of an issue regarding the activation function
This commit is contained in:
parent
510cf3c135
commit
0f761d1e0c
@ -111,7 +111,7 @@ void backward_propagation(Network* network, float wanted_number) {
|
||||
output = network->input[i+1];
|
||||
output_depth = network->depth[i+1];
|
||||
output_width = network->width[i+1];
|
||||
activation = i==0?SIGMOID:k_i->activation;
|
||||
activation = i==0?SIGMOID:network->kernel[i-1]->activation;
|
||||
|
||||
|
||||
if (k_i->cnn) { // Convolution
|
||||
|
Loading…
Reference in New Issue
Block a user