(self)
return cdict
Serialize callback configuration.
Serialize callback configuration.
Serialize callback configuration .
def get_description(self):
        """
        Serialize callback configuration.
        """
        cdict = {}
        cdict['epoch_marker'] = self.epoch_marker
        cdict['output_file'] = self.output_file

        cdict['callbacks'] = []
        for callback in self.callbacks:
            cdict['callbacks'].append(callback.get_description())
        return cdict
def get_description ( self ) : cdict = { } cdict [ 'epoch_marker' ] = self . epoch_marker cdict [ 'output_file' ] = self . output_file cdict [ 'callbacks' ] = [ ] for callback in self . callbacks : cdict [ 'callbacks' ] . append ( callback . get_description ( ) ) return cdict