chainer.training.triggers.ManualScheduleTrigger¶
-
class
chainer.training.triggers.
ManualScheduleTrigger
(points, unit)[source]¶ Trigger invoked at specified point(s) of iterations or epochs.
This trigger accepts iterations or epochs indicated by given point(s). There are two ways to specify the point(s): iteration and epoch.
iteration
means the number of updates, whileepoch
means the number of sweeps over the training dataset. Fractional values are allowed if the point is a number of epochs; the trigger uses theiteration
andepoch_detail
attributes defined by the updater.- Parameters
- Variables
finished (bool) – Flag that indicates whether or not this trigger will
in the future. This flag is used to determine if the extension (fire) –
be initialized after resume. (should) –
Methods