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 CancelStepExceptions.

See the implementations of TrainingPhase and ValidationPhase for reference.