Unverified Commit 42e08696 authored by Adrià Arrufat's avatar Adrià Arrufat Committed by GitHub
Browse files

Fix warning about unused zero_gradients parameter (#2487)

* Fix warning about unused zero_gradients parameter

* match signature of other methods
parent 8b465291
...@@ -2251,7 +2251,7 @@ namespace dlib ...@@ -2251,7 +2251,7 @@ namespace dlib
void back_propagate_error( void back_propagate_error(
const tensor& /*x*/, const tensor& /*x*/,
zero_gradients zero_grads = zero_gradients::yes zero_gradients /*zero_grads*/ = zero_gradients::yes
) )
{ {
// nothing to do // nothing to do
......
Markdown is supported
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