step!

function defined in module FluxTraining


			step!(learner, phase::Phase, batch)

Run one step of training for learner on batch.
Behavior is customized through phase .

Extending

This is a required method for custom Phase s to implement.
To implement step! , it is recommended you make use of runstep
to get begin and end events as well as proper handling of
CancelStepException s.

See the implementations of TrainingPhase and ValidationPhase
for reference.

Methods

There are 5 methods for step!:

step!(metric::Metric, learner, phase)
callbacks/metrics.jl:193
step!(metric::Loss, learner, ::Any)
callbacks/metrics.jl:235
step!(metric, learner, ::Any)
callbacks/metrics.jl:120
step!(learner, phase::TrainingPhase, batch)
training.jl:49
step!(learner, phase::ValidationPhase, batch)
training.jl:82