FluxTraining.replacecallback!
function
defined in module
FluxTraining
replacecallback!(learner, callback::C)
Replace existing callback of type
C
on learner with
callback
.
Return the replaced callback.
If
learner
doesn’t have a callback of type
C
, add
callback
and
return
nothing
.
There is
1
method for replacecallback!
:
replacecallback!(learner, callback::C)