Package mdp :: Class CheckpointFunction
[hide private]
[frames] | no frames]

Class CheckpointFunction


Base class for checkpoint functions.

This class can be subclassed to build objects to be used as a checkpoint
function in a CheckpointFlow. Such objects would allow to define parameters
for the function and save informations for later use.

Instance Methods [hide private]
 
__call__(self, node)
Execute the checkpoint function.

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, node)
(Call operator)

 
Execute the checkpoint function.

This is the method that is going to be called at the checkpoint.
Overwrite it to match your needs.