chainer.training.triggers.OnceTrigger¶
-
class
chainer.training.triggers.OnceTrigger(call_on_resume=False)[source]¶ Trigger based on the starting point of the iteration.
This trigger accepts only once at starting point of the iteration. There are two ways to specify the starting point: only starting point in whole iteration or called again when training resumed.
- Parameters
call_on_resume (bool) – Whether the extension is called again or not when restored from a snapshot. It is set to
Falseby default.- Variables
Methods
-
__eq__()¶ Return self==value.
-
__ne__()¶ Return self!=value.
-
__lt__()¶ Return self<value.
-
__le__()¶ Return self<=value.
-
__gt__()¶ Return self>value.
-
__ge__()¶ Return self>=value.
Attributes
-
finished¶