Package lepl :: Package core :: Module monitor :: Class MultipleValueMonitors
[hide private]
[frames] | no frames]

Class MultipleValueMonitors

source code


Combine several value monitors into one.
Instance Methods [hide private]
 
__init__(self, monitors=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
append(self, monitor)
Add another monitor to the chain.
source code
 
__len__(self) source code
 
next_iteration(self, epoch, value, exception, stack)
Called at the start of each iteration.
source code
 
before_next(self, generator)
Called before invoking next on a generator.
source code
 
after_next(self, value)
Called after invoking next on a generator.
source code
 
before_throw(self, generator, value)
Called before invoking throw on a generator.
source code
 
after_throw(self, value)
Called after invoking throw on a generator.
source code
 
before_send(self, generator, value)
Called before invoking send on a generator.
source code
 
after_send(self, value)
Called after invoking send on a generator.
source code
 
exception(self, value)
Called when an exception is caught (instead of any 'after' method).
source code
 
raise_(self, value)
Called before raising an exception to the caller.
source code
 
yield_(self, value)
Called before yielding a value to the caller.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, monitors=None)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

next_iteration(self, epoch, value, exception, stack)

source code 
Called at the start of each iteration.
Overrides: ValueMonitor.next_iteration

before_next(self, generator)

source code 
Called before invoking next on a generator.
Overrides: ValueMonitor.before_next

after_next(self, value)

source code 
Called after invoking next on a generator.
Overrides: ValueMonitor.after_next

before_throw(self, generator, value)

source code 
Called before invoking throw on a generator.
Overrides: ValueMonitor.before_throw

after_throw(self, value)

source code 
Called after invoking throw on a generator.
Overrides: ValueMonitor.after_throw

before_send(self, generator, value)

source code 
Called before invoking send on a generator.
Overrides: ValueMonitor.before_send

after_send(self, value)

source code 
Called after invoking send on a generator.
Overrides: ValueMonitor.after_send

exception(self, value)

source code 
Called when an exception is caught (instead of any 'after' method).
Overrides: ValueMonitor.exception

raise_(self, value)

source code 
Called before raising an exception to the caller.
Overrides: ValueMonitor.raise_

yield_(self, value)

source code 
Called before yielding a value to the caller.
Overrides: ValueMonitor.yield_