__init__(self,
filename,
stop_training=0,
binary=1,
protocol=2)
(Constructor)
|
|
CheckpointSaveFunction constructor.
'filename' -- the name of the pickle dump file.
'stop_training' -- if set to 0 the pickle dump is done before
closing the training phase
if set to 1 the training phase is closed and then
the node is dumped
'binary' -- sets binary mode for opening the file.
When using a protocol higher than 0, make sure
the file is opened in binary mode.
'protocol' -- is the 'protocol' argument for the pickle dump
(see Pickle documentation for details)
- Overrides:
object.__init__
|