mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
8b4652912d
commit
42e0869606
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user