Skip to content
Snippets Groups Projects
Commit 1a7aef80 authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

Remove unused capture. Silence a warning.

parent c4978f1b
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ auto testBackpropagationL2Regularization(typename Architecture::Scalar_t dx)
{
for (size_t j = 0; j < layer.GetInputWidth(); j++)
{
auto f = [&net, &X, &Y, &weights, &W, l, i, j](Scalar_t x) {
auto f = [&net, &X, &Y, &weights, l, i, j](Scalar_t x) {
return evaluate_net_weight(net, X, Y, weights, l, i, j, x);
};
Scalar_t dy = finiteDifference(f, dx) / (2.0 * dx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment