Fix warning about unused zero_gradients parameter (#2487)

* Fix warning about unused zero_gradients parameter

* match signature of other methods
This commit is contained in:
Adrià Arrufat 2022-01-15 23:22:43 +09:00 committed by GitHub
parent 8b4652912d
commit 42e0869606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2251,7 +2251,7 @@ namespace dlib
void back_propagate_error(
const tensor& /*x*/,
zero_gradients zero_grads = zero_gradients::yes
zero_gradients /*zero_grads*/ = zero_gradients::yes
)
{
// nothing to do