README

Start here

Library

Reference

Tutorials

Other

private Eventsmodule

module Events

Provides the abstract Event type and concrete event types.

  • Init is called once for every callback. Use for initialization code that needs access to some Learner state.

Events in TrainingPhase and ValidationPhase:

TrainingPhase only:

  • BackwardBegin, called after forward pass and loss calculation but before gradient calculation.
  • BackwardEnd, called after gradient calculation but before parameter update.