ValidationPhase

struct defined in module FluxTraining.Phases


			ValidationPhase()

A regular validation phase. It iterates over batches
in learner.data.validation and performs a forward pass.

Throws the following events: EpochBegin , StepBegin ,
LossBegin , StepEnd , EpochEnd .

Throws the following events in this order:

It writes the following step state to learner.state , grouped by the
event from which on it is available.

  • StepBegin :

    • xs and ys : encoded input and target (batch)

  • LossBegin :

    • ŷs : model output

  • StepEnd :

    • loss : loss

Methods

There is 1 method for ValidationPhase:

ValidationPhase()
callbacks/phases.jl:94