chainer.training.extensions.snapshot_writers.Writer¶
-
class
chainer.training.extensions.snapshot_writers.Writer[source]¶ Base class of snapshot writers.
Snapshotinvokes__call__of this class every time when taking a snapshot. This class determines how the actual saving function will be invoked.Methods
-
__call__(filename, outdir, target)[source]¶ Invokes the actual snapshot function.
This method is invoked by a
Snapshotobject every time it takes a snapshot.
-
finalize()[source]¶ Finalizes the wirter.
Like extensions in
Trainer, this method is invoked at the end of the training.
-
__eq__(value, /)¶ Return self==value.
-
__ne__(value, /)¶ Return self!=value.
-
__lt__(value, /)¶ Return self<value.
-
__le__(value, /)¶ Return self<=value.
-
__gt__(value, /)¶ Return self>value.
-
__ge__(value, /)¶ Return self>=value.
-