chainer.training.extensions.snapshot_writers.Writer¶
-
class
chainer.training.extensions.snapshot_writers.
Writer
[source]¶ Base class of snapshot writers.
Snapshot
invokes__call__
of this class everytime 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
Snapshot
object 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__
()¶ Return self==value.
-
__ne__
()¶ Return self!=value.
-
__lt__
()¶ Return self<value.
-
__le__
()¶ Return self<=value.
-
__gt__
()¶ Return self>value.
-
__ge__
()¶ Return self>=value.
-