.FluxTrainingreplacecallback!

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.

Methods

There is 1 method for FluxTraining.replacecallback!: