Commit 7a8c5de0 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Fix the reported modification

parent 5b0c904e
Pipeline #189573 passed with stages
in 14 minutes and 18 seconds
......@@ -220,7 +220,7 @@ gradient_layer (size_t n_inputs, const double *restrict inputs,
abs_g = -g;
}
weights[i_weight++] -= learning_rate * g;
*sum_updates += abs_g;
*sum_updates += learning_rate * abs_g;
*n_updates += 1.0;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment